siberider / javasnoop

Automatically exported from code.google.com/p/javasnoop
0 stars 0 forks source link

batch file cannot find the Java direcotry (Windows XP) #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There is no %Java_Home% by default in the Environment Variables, and the 
registry reader of "startup.bat" cannot find the registry value (on win xp sp3, 
jdk1.6). Moreover, if there is an space on the path, you cannot use this batch 
file. For example, as there is several spaces in "Documents and settings" 
folder, it cannot disable/enable Java security.

I changed batch file and attached it here. Now, it is working properly.

Good luck

Original issue reported on code.google.com by soroush....@gmail.com on 4 Aug 2010 at 2:26

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch! If this is all it takes to support XP, we're happy to do 
it. I have to sit on it for a while until I can do proper testing though.

Original comment by arshan.d...@gmail.com on 9 Aug 2010 at 3:10

GoogleCodeExporter commented 9 years ago

Original comment by arshan.d...@gmail.com on 23 Aug 2010 at 2:15

GoogleCodeExporter commented 9 years ago
yep, and for new java, you have to change your java version

Original comment by king.sa...@gmail.com on 20 Apr 2013 at 7:11

Attachments: