flash tool wont recognize Java JRE - Xperia Z1 Q&A, Help & Troubleshooting

Hello everyone,
the last lollipop update soft bricked my phone, so now i am trying to recover it... but i am new to flashing, rooting, etc , and consequently struggling a bit. ( i went through the sony pc companion repair steps before i got to here.
Main issue : i downloaded flashtool from here: ://github.com/Androxyde/Flashtool and it gave me a Java error
"No JVM could be found on your system
Please define EXEJ JAVA HOME to point it to an installed 32 bit JDK or JRE"
So i went and installed the latest Java JRE , restarted my computer , and still get the same error. What should i do?
running windows 7
im sure i will have more questions, but thanks in advance!

libtechsplit said:
Hello everyone,
the last lollipop update soft bricked my phone, so now i am trying to recover it... but i am new to flashing, rooting, etc , and consequently struggling a bit. ( i went through the sony pc companion repair steps before i got to here.
Main issue : i downloaded flashtool from here: ://github.com/Androxyde/Flashtool and it gave me a Java error
"No JVM could be found on your system
Please define EXEJ JAVA HOME to point it to an installed 32 bit JDK or JRE"
So i went and installed the latest Java JRE , restarted my computer , and still get the same error. What should i do?
running windows 7
im sure i will have more questions, but thanks in advance!
Click to expand...
Click to collapse
try to add java commands to environment variables
copy the javajdk\bin folder location and paste in the system/user path environment variables available in SYSTEM Properties--> Avdanced Settings--- >Advanced Tab --> Environment Variables and there yo will find system environment variables and path environment variables
paste the location in system environment variable --> path
the location will be like this C:\Program Files\Java\jdk1.7.0_80\bin

Thank you,
I tried uninstall and reinstall of both Flashtool and Java JDK , then tried the recommendation.
After copying the JDK file location C:\Program Files\Java\jdk1.8.0_65 into the environment variables , i now get a different error when i try to run Flashtool64 :
Java.lang.ClassNotFoundException: gui.Main
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Regular flashtool (not Flashtool64) gets multiple different Java errors. I'm not sure which i should be using?

Flashtool is still not functioning for me. Can anyone recommend a different software? All i want to do is install a stock ROM so my phone will function again

please close this thread
turns out i am in the wrong forum, the c6616 is actually a Z, not a Z1
please close this thread , i will start over in the correct forum, thank you

Related

[Q] {HELP} My captivate not connect to my laptop by USB

I've install [ROM][2.3.5][10/14/11] MIUI Development 1.10.14 http://forum.xda-developers.com/showthread.php?t=1066885.
But when my captivate not connect to laptop by USB.
I try hidden code: *#7284# but it not work in my phone.
Help me
Reinstall drivers
Install Android sdk because your computer probably sees it as a nexus s
Sent from my SAMSUNG-SGH-I777
To install sdk, you need to install (or already have) Java JDK installed.
mrhaley30705 said:
To install sdk, you need to install (or already have) Java JDK installed.
Click to expand...
Click to collapse
from the Android SDK page:
If you downloaded the Windows installer (.exe file), run it now and it will check whether the proper Java SE Development Kit (JDK) is installed (installing it, if necessary), then install the SDK Tools into a default location (which you can modify).
its not a requirement to install it on your own any more, apparently
Yep, that's new to me.
mrhaley30705 said:
Yep, that's new to me.
Click to expand...
Click to collapse
it would appear that with each new release of sdk, that they make it more and more noob friendly. thank god for that
now all they need to do is make the installer include adb in the environment path automatically (or by choice, via installation selection)
explaining to a noob to:
install java jdk
download android sdk > unzip it in a location you can find easily
add adb to environment path OR cd c:\path\to\sdk\folder
hell, with most of the noobs you lose them at install java jdk....

[Q] nOOb: export apk from Eclipse IDE?

So, I've been doing some Android development tutorials, as I have almost no experience in any sort of coding. I'm working in Ubuntu 11.10 with android-sdk-linux, Eclipse IDE, & java version 1.6
Things are going ok, but...
I tried to export a signed apk of my application project from Eclipse yesterday, and when I try to install it on my D3 I get this error:
HTML:
Error Parsing Package
What am I doing wrong?
thanks in advance...
lunacie said:
So, I've been doing some Android development tutorials, as I have almost no experience in any sort of coding. I'm working in Ubuntu 11.10 with android-sdk-linux, Eclipse IDE, & java version 1.6
Things are going ok, but...
I tried to export a signed apk of my application project from Eclipse yesterday, and when I try to install it on my D3 I get this error:
HTML:
Error Parsing Package
What am I doing wrong?
thanks in advance...
Click to expand...
Click to collapse
Sorry bro, I have no idea. You might get more help Android Development and Hacking or more specifically Android Software Development which is a subforum of the first link. Sorry I personally can't help you out more than that, wish I could.
If your device is recognized as a development device, you should be able to just hit the 'Run' button and it should compile your app, install it to the device and automatically launch it. Your device needs to have USB debugging turned on and you need to have the ADB driver installed (need to get it from Motorola if this is a Moto device, it won't install automatically like the rest of the storage drivers).
My Droid3 shows up as ???????? in adb. I was exporting a signed apk to install because I can't get the device to recognize. Am I missing a configuration of some kind? I'm guessing there's some kind of vendor code or something that I need for ADB to work properly with my phone?
tnx
EDIT: think I figured it out. it's the udev rules, looks like i'm on the right track....
EDIT 2: Got it! Thanks for the heads up.

[Q] Fashtool

hi guy's flashtool will start on my laptop click on program exe then flashtool and it's saying there are some problems with Java can you help
Flashtool version?
Windows version and edition?
(i.e. Windows 7 32-Bit Home Premium)
User account control turned on?
Run flashtool.exe as Administrator (Right-click -> "Run as Administator")
Java Runtime (JRE) or Development Kit (JDK) installed?
If yes, which version?
Exact error message you get upon starting Flashtool?
hi B.Jay sorry for the delay, running win xp 32 bit androxyde-flashtool-300f4b7 can't find the version, don't understand user account turned on, if i right click on flastool.exe
i don't get the option to run as admin. Java 1.6.0_31
these are the errors.
java.lang.ClassNotFoundException: gui.FlasherGUI
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
zack19 said:
hi B.Jay sorry for the delay, running win xp 32 bit androxyde-flashtool-300f4b7 can't find the version
Click to expand...
Click to collapse
The version of Flashtool should actually be visible in the .exe of the Installer (since yours doesn't even start up to get to the version number).
Example:
flashtool-0.2.9.1-windows.exe
flashtool-0.5.3.0-windows.exe
flashtool-0.6.7.0-windows.exe
zack19 said:
don't understand user account turned on, if i right click on flastool.exe i don't get the option to run as admin.
Click to expand...
Click to collapse
This would only apply if you are using Windows Vista or Windows 7. Does not apply to Windows XP at all.
zack19 said:
Java 1.6.0_31
these are the errors.
java.lang.ClassNotFoundException: gui.FlasherGUI
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Click to expand...
Click to collapse
Hmmm... seems it either has a problem finding it's x10flasher.jar or there's something wrong with the Java Runtime installation.
Question: To where did you put the Flashtool folder?
Flashtool 0.2.9.1 (and 0.3.x.x, I think) had a problem when it was installed/unpacked into a folder where the path to the Flashtool directory contained a space.
Example:
C:\Documents and Settings\<username>\Flashtool
Won't work, there are spaces in the path.
C:\Flashtool
Will work as there's not a single space in the path.
In short - if the Flashtool directory is inside of "C:\Program Files" or in C:\Documents and Settings\<your_username> or some other subfolder try moving it into the root of your hard drive ... C:\Flashtool
If it still doesn't work try...
Open the Add/Remove Software panel (START -> Control Panel -> Add/Remove Software) and uninstall ALL the Java Runtimes you may have installed ("Updating" Java doesn't replace the currently installed one but just slap the new one onto your hard drive - if you "updated", for example, five releases you have 5 JRE's installed). Then reboot and install Java JRE 6u31 or JRE 7u3 and try again.
thank's BJay for your help, i moved flashtool to root folder and uninstalled java re installed java6 but still getting the same error messages.
Maybe just try other version of flashtool. I'm using 0.2.9.1 and it works great
zack19 said:
thank's BJay for your help, i moved flashtool to root folder and uninstalled java re installed java6 but still getting the same error messages.
Click to expand...
Click to collapse
Weird, but ok ...
- Any chance your user account does not have Administrative rights for whatever reason I can't imagine?
- You're on Windows XP with Service Pack 3 + all Windows updates issued up till today?
- If you have a virus scanner installed, did you try to temporarily disable the virus scanner?
And most importantly...
- Which version of Flashtool did you install?
If you click the link in my signature you will find a Flashtool folder - in there is a collection of different Flashtool versions. Try, as suggested above, Flashtool 0.2.9.1 - that one should be "old" enough to work on XP.
i have same problem!
hi B.Jay installed FT0.2.9.1 and it's working it recognises my device as E15 and not X8 is this normal in this version also in Flash there are no .ftf files do they have to be downloaded first. Thanks for your time.
zack19 said:
hi B.Jay installed FT0.2.9.1 and it's working it recognises my device as E15 and not X8 is this normal in this version
Click to expand...
Click to collapse
Yes, Flashtool identified the X8 correctly.
The full identification of the X8 would be:
X8 E15i or X8 E15a
The "i" and "a" only denotes for what kind of mobile network (the frequencies that get used) the phone is prepared.
To keep it brief:
i == European GSM/UMTS mobile network standard
a == Northern American GSM/UMTS mobile network standard
That little letter is actually of great importance if you ever need to flash the Baseband. Flashing the wrong Baseband means that your phone won't be able to connect to the mobile network - in which case you then need to re-flash the correct Baseband .ftf
zack19 said:
also in Flash there are no .ftf files do they have to be downloaded first. Thanks for your time.
Click to expand...
Click to collapse
Yes, you need to download the .ftf file, or files, you want to flash and copy it into C:\Flashtool\Firmwares
thanks man!! it's work! flashtool 0.2.9.1 fully working!
now i use my x8 back​
Come'on guys! this site is for android probelms, not PC.
balarishinoob said:
Come'on guys! this site is for android probelms, not PC.
Click to expand...
Click to collapse
Come on, this thread is dead for almost 2 years, let it rest in peace!
I have same problem, so thanks now i have fixed it, .:good:

[Solved] ADB Driver doesn't want to install/work on Windows XP.

Yesterday i had a problem with a Win XP computer where the ADB driver just didn't want to install. The worst part was that on that particular PC it worked correctly some time ago.
After a lot of digging around I've found out that the problem was that somehow the "WDF01005" (which is actually "Microsoft Kernel-Mode Driver Framework Feature Pack 1.5", on some sites it was listed as "KMDF Coinstaller 1.5") was not installed. Of course, searching the net for it didn't get me any closer to a solution.
Anyways, to make a long story short, i managed to fix it by creating the uninstall registry entry for it, it seems that i did have it installed (or maybe i had a newer version installed) all along just that the reg-entry got deleted.
Here's the reg file :
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01005]
"SystemComponent"=dword:00000001
(just save it into "fix_wdf01005.reg" and double click it to install it with Regedit, or you can add the key manually and add a DWORD value with the name "SystemComponent" and value of 1.)
So, if you ever get the error that Windows XP cannot install the "Android Platform Sooner Single ADB Interface" driver then you might want to see if you have the "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01005" key as it is used by the driver installation and if it's missing then it fails and the driver is not installed.
I hope it helps others too,
P.S. i just tested, it worked for my Samsung phone too, it also failed to install the Android ADB driver and thus the ADB command said "error : device not found", now it worked correctly, it even found the drivers it needed through Windows Update so i didn't have to install anything manually.
Thank you so much! This worked like a charm!
My Windows XP used to work with adb, now it fails to install it.
Then I read this thread and now adb is working happily on my Samsung Galaxy Gio!
Thanks!
Thanks man.
you really helps me a lot.
[sorry for bad english]
instructions for domies...
Can you tell me exactly how do that, please? I'm having the same issue. The file doesn't exist in my registry. How do I get it?
Thanks. You're a blessing.
hi i have not problem with installation in my windowx xp...but its takes too long...i think some time 10 to 20 mins..so is there any way to install adb driver installation fast...plz suggest me solution...thnks and advance

[Q] Linux Commands to install Evervolv 4.3

(Posted this over at Rootz Wiki and WebOSNation and it was suggested I post here for better response)
I am trying to use Knoppix to install Evervolv 4.3 onto my TP. Each time I open the terminal where the Palm,Inc files are, then enter the commands for installing, I get this:
[email protected]:/media/sda1/SAVE/pALM, iNC$ novacom.exe boot mem:// < ACMEInstaller5E
bash: novacom.exe: command not found
trying this, produces:
[email protected]:/media/sda1/SAVE/pALM, iNC$ ./novacom boot mem:// < ACMEInstaller5E
bash: ./novacom: No such file or directory
and this gets this:
[email protected]:/media/sda1/SAVE/pALM, iNC$ novacom boot mem:// < ACMEInstaller5E
failed to connect to server
I've re-installed novacom several times, updated the drivers and found the "palm-novacom_1.0.76_i386.deb" install in SynapticPM and that is what resides in my pALM, iNC directory.
There is no .exe or boot folder that I can see.
Novacom never did create a Palm, Inc folder at any time. I had to make a new folder with the name "pALM iNC" to double check this.
I also tried the suggestion over at WebOsNation here:
[Link removed due to newby status-check]
Here's the upshot of it, though-
[email protected]:/media/sda1/SAVE/pALM, iNC$ novacomd & novacom boot mem:// <ACMEInstaller5E
[1] 30138
bash: novacomd: command not found
failed to connect to server
[1]+ Exit 127 novacomd
Can I do something different to get this to work? I am totally new to TP, Android and Linux.
Thanks heaps.
TT
Novacom.exe is a Windows executable file and won't work on linux from the command line, afaik.
Could always use a windows emulator or a friend's PC =)
Cheers
Try this one:
http://forum.xda-developers.com/showthread.php?t=2499959
It's easier on Windows.
EDIT:
Should work on KNOPPIX too:
Code:
http://www.toki.co.nz/mobile/2012/10/16-running-novacomd-on-debian/
Thanks, but, "File not found" on all those links for DL's.
I am wondering too why I can't get WebOSQuickInstall to work properly and thinking this may be a common factor here.
Whenever I go to install it, I get the "installing novacom drivers", then success, then cannot install as "no device connected" or something to that effect.
Could those all be related?
yedall vague
After double checking my Java install from suggestions over at Rootz Wiki, I discover I had not installed Java. I was using Iced Tea-Web Plugin for Java applets and thought I was good to go.
Plus, I thought I had installed it because a Java pkg kept showing up in Synaptic PM, but I went to Oracle and it couldn't be found.
So, after hunting for some info I found this:
://andrewelkins....n-oracle-sucks/
and following this I ended up with-
Cannot write to `jdk-7u51-linux-i586.tar.gz' (No space left on device).
download failed
Oracle JDK 7 is NOT installed.
I am running Knoppix on a 8Gb flash drive, and I will have to extend the data img before I try again.
Going on holiday for awhile, so won't be able to post back with results until I get back.
Thanks for the input guys.
Hope this helps somebody in the same predicament.
Using linux
TouchyTouchy said:
After double checking my Java install from suggestions over at Rootz Wiki, I discover I had not installed Java. I was using Iced Tea-Web Plugin for Java applets and thought I was good to go.
Plus, I thought I had installed it because a Java pkg kept showing up in Synaptic PM, but I went to Oracle and it couldn't be found.
So, after hunting for some info I found this:
://andrewelkins....n-oracle-sucks/
and following this I ended up with-
Cannot write to `jdk-7u51-linux-i586.tar.gz' (No space left on device).
download failed
Oracle JDK 7 is NOT installed.
I am running Knoppix on a 8Gb flash drive, and I will have to extend the data img before I try again.
Going on holiday for awhile, so won't be able to post back with results until I get back.
Thanks for the input guys.
Hope this helps somebody in the same predicament.
Click to expand...
Click to collapse
Did you get it installed?

Categories

Resources