Sada je: 29 ruj 2020, 22:39.
Pametni telefoni, tableti, netbook prijenosnici...

Moderator/ica: Moderatori/ce

Promijeni ovo:
Kod: Označi sve
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

u ovo:
Kod: Označi sve
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.
Avatar
Postovi: 1975
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Lokacija: wonderland
Podijelio/la zahvalu: 8 puta
Primio/la zahvalu: 38 puta
Spol: M
OS: Debian 7 Wheezy
slika

jesam, i na drugom kompu mi isto javlja za taj libusb
I nema linjre64 u tom folderu
sve foldere sto ima sam probao
#!/bin/bash
coffee=0

while [ `date +%H%M` -lt 0800 ]; do

coffee=$((coffee + 1))

done
exit
Postovi: 855
Postovi: 855
Pridružen/a: 21 lip 2012, 20:36
Lokacija: /home/donji_miholjac -> /home/varazdin
Podijelio/la zahvalu: 14 puta
Primio/la zahvalu: 19 puta
Spol: M
OS: Debian 10 Buster / KDE
pface
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.
Avatar
Postovi: 1975
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Lokacija: wonderland
Podijelio/la zahvalu: 8 puta
Primio/la zahvalu: 38 puta
Spol: M
OS: Debian 7 Wheezy
Opet je isto

To:

Kod: Označi sve
usr/lib/jvm/linjre64


sam ja prebacio tamo iz flashtoola zato što sam mislio da nemože čitati libusb od tamo
ipak mislim da je libusb problem
#!/bin/bash
coffee=0

while [ `date +%H%M` -lt 0800 ]; do

coffee=$((coffee + 1))

done
exit
Postovi: 855
Postovi: 855
Pridružen/a: 21 lip 2012, 20:36
Lokacija: /home/donji_miholjac -> /home/varazdin
Podijelio/la zahvalu: 14 puta
Primio/la zahvalu: 19 puta
Spol: M
OS: Debian 10 Buster / KDE
A jel ti instaliran taj jre ? Mislim, nebi li to trebao imati uz Javu ?
I probaj ovo: http://askubuntu.com/questions/366336/h ... bx-library
Prije toga ono vrati da pokazuje na libjre64 iz flashtool foldera.
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.
Avatar
Postovi: 1975
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Lokacija: wonderland
Podijelio/la zahvalu: 8 puta
Primio/la zahvalu: 38 puta
Spol: M
OS: Debian 7 Wheezy
to je za neku stariju verziju,za ovu ne funkcionira
#!/bin/bash
coffee=0

while [ `date +%H%M` -lt 0800 ]; do

coffee=$((coffee + 1))

done
exit
Postovi: 855
Postovi: 855
Pridružen/a: 21 lip 2012, 20:36
Lokacija: /home/donji_miholjac -> /home/varazdin
Podijelio/la zahvalu: 14 puta
Primio/la zahvalu: 19 puta
Spol: M
OS: Debian 10 Buster / KDE
Meni se ne čini da to ima ikakve veze sa verzijom, problem je isti, zeza zbog "JAVA_HOME" i fali libusb.

Kod: Označi sve
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.
Avatar
Postovi: 1975
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Lokacija: wonderland
Podijelio/la zahvalu: 8 puta
Primio/la zahvalu: 38 puta
Spol: M
OS: Debian 7 Wheezy
To sam napravio ali u ovoj skripti koju ja imam nema :

Kod: Označi sve
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


niti ima nešto slično tome

njegova ne paše
#!/bin/bash
coffee=0

while [ `date +%H%M` -lt 0800 ]; do

coffee=$((coffee + 1))

done
exit
Postovi: 855
Postovi: 855
Pridružen/a: 21 lip 2012, 20:36
Lokacija: /home/donji_miholjac -> /home/varazdin
Podijelio/la zahvalu: 14 puta
Primio/la zahvalu: 19 puta
Spol: M
OS: Debian 10 Buster / KDE
Aha
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.
Avatar
Postovi: 1975
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Lokacija: wonderland
Podijelio/la zahvalu: 8 puta
Primio/la zahvalu: 38 puta
Spol: M
OS: Debian 7 Wheezy
Našo sam neki divlji rom za a10 tablete i flasho ga sa live suite-om :thmb-up :thmbs-up :-D :lol: 8-) ::bravo
i konačno sam ga uspio upalit,ali je touch screen naopako :?
#!/bin/bash
coffee=0

while [ `date +%H%M` -lt 0800 ]; do

coffee=$((coffee + 1))

done
exit
Postovi: 855
Postovi: 855
Pridružen/a: 21 lip 2012, 20:36
Lokacija: /home/donji_miholjac -> /home/varazdin
Podijelio/la zahvalu: 14 puta
Primio/la zahvalu: 19 puta
Spol: M
OS: Debian 10 Buster / KDE

Na mreži
Trenutno korisnika/ca: / i 1 gost.