I am developing a java application and deploy it using batch file. At work, I use Vista 32 bit and at home I use win 7 64 bit. The batch file calls java.exe to do some tasks
Due to some issue with Netbeans, I am forced to do my development on 32 bit java (both at home and at work), so at home I have a 32 bit jdk installed in %ProgramFiles(x86)% on which I do my development and also the 64 bit jre in %ProgramFiles% (which is used for other stuff)
Is there any uniform way to access the 32 bit folder on both work and home computers, so I don’t have to have two copies of batch files (the home one calling java.exe in %ProgramFiles(x86)% and the office one calling default java.exe (in %ProgramFiles%)
We do something like this: