Hi,
I have created a batch file which internally calls the jar and the start up class as below
java -cp "jars/JPLSyncApp-1.0-SNAPSHOT.jar;jars/*" Welcome.App.
I use Netbeans with JDK 1.6 as Default. This file works normally in windows 7 32 bit. But when i try the same with windows 7 64 bit which has JRE 1.7 and try to run the batch file as administrator then i receive the below error message
"could not find or load main class".
i tried to build the app with JDK 1.7 but that too does not work with the 64 bit machine. I am .NET Developer there we have build configuration where we can specify 32 bit or 64 bit. if an application is built against 32 bit it will normally work in 64 bit. But why does this happen here.
Do i need to set any classpath or do i need JRE 6 to run. Please advise.