if test -z "${JAVA_HOME}"
then
if test "${system64}" = "x86_64"
then
export JAVA_HOME=/usr/lib/jvm/default-java
else
export JAVA_HOME=./x10flasher_lib/linjre32
fi
if test -z "${JAVA_HOME}"
then
if test "${system64}" = "x86_64"
then
export JAVA_HOME=/usr/lib/jvm/linjre64
else
export JAVA_HOME=./x10flasher_lib/linjre32
fi
Pretpostavljam da imaš 64-bitni sistem.
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
Piše "JAVA_HOME", znači to nije file, to je folder, samo napravi to što sam napisao: export JAVA_HOME=/usr/lib/jvm/default-java
u ovo: export JAVA_HOME=/usr/lib/jvm/linjre64
čini mi se u redu taj tvoj linjre64 folder, ima /bin/java (execuable) i ne bi trebalo biti problema nakon toga. Ako ima, morati ću više pažnje posvetiti libusb-u.
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
Copy /usr/local/lib/libusb-1.0.so.0.1.0 to FlashTool/x10flasher_lib/linux/lib64 and FlashTool/x10flasher_lib/linux/lib32.
Search the following lines in Flashtool script
ln -sf libusbx-1.0.so.0.1.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
ln -sf libusbx-1.0.so.0.1.0 ./x10flasher_lib/linux/lib64/libusbx-1.0.so
Change them to
ln -sf libusb-1.0.so.0.1.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
ln -sf libusb-1.0.so.0.1.0 ./x10flasher_lib/linux/lib64/libusbx-1.0.so
Now run the flashtool, you will be good to go.
Note:
Who are getting JAVA_HOME NOT SET error before it, do the following
This will set variable for all user
sudo gedit /etc/profile.d/java.sh
paste if you installed oracle jdk, change accordingly if you are using open jdk
export JDK_HOME=/usr/lib/jvm/java-7-oracle
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
Then in terminal run:
sudo chmod +x /etc/profile.d/java.sh
source /etc/profile.d/java.sh
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.