Now on this machine earlier just typing in the command prompt: java

resulted in the command prompt saying java wasn't recognized. now the machine does have java installed , so I just added the java home and javahome/bin to path. and now pressing java causes java to be recognized but by double clicking a jar file, but I am not getting the software to run. But when I go to command prompt and type in the prompt "java -jar nameofJar.jar" the application runs fine. Not sure what is the issue. I added the environment variables to make sure it targets the jar file. I do notice something its not seeing the jar file as a "Executable jar file" simply a "jar file" in the file association description.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.