Quote:
Originally Posted by Dellaster
This looks like it could be very useful. I'm running into a problem, however: it can't find the JDK on my Windows 7 system. My PATH variable has ";C:\Java\jdk1.6.0_19\bin" added to the end. I can't figure out why it can't find it since I see in the code that it's looking at PATH for it. Am I missing something? (Very possible since it's been over a decade since I've played around with Java.)
|
It checks the path variable to make sure that the java command works (java -jar apktool.jar). It actually uses the registry to find the java directory. On the XP machines I tested on this was always HKEY_Local machine/ software/ javasoft/ java development kit. Then there is a key CurrentVersion that identifies the subfolder that contains another key JAVAHOME that points to the install location.
Until I can get time to see what is different with Win7, you could try to comment the javadetecter call in Window_onLoad and then add
Java_Path = "C:\Java\jdk1.6.0_19\bin"
Comment is just a single apostrophe in vbs.
Please let me know how that works out, and I'm sorry it did not work for you.
PS: I really need the get myself an external keyboard.