View Full Version : How to be sure that ./file_path.jar will open the application with java?
leon.vitanos
June 15th, 2011, 09:56 AM
So as you know .jar files can open with archive manager and OpenJDK Java..
With the command ./file_path.jar , the jar file will open with the default one that you have selected..
But how to be sure that it will open with OpenJDK Java?
slavik
June 15th, 2011, 12:01 PM
So as you know .jar files can open with archive manager and OpenJDK Java..
With the command ./file_path.jar , the jar file will open with the default one that you have selected..
But how to be sure that it will open with OpenJDK Java?
you can't know.
leon.vitanos
June 15th, 2011, 12:45 PM
Somehow change all .jar files at your system to open with Java? :(
Probably then ./file_path.jar will open with java
PaulM1985
June 15th, 2011, 02:00 PM
Your best bet would be to include a script in the folder which contained
java -jar myJar.jar
Then you could just click on the script.
Paul
hakermania
June 15th, 2011, 02:04 PM
right click on the file, properties, open with OpenJDK Java 6 Runtime or anything else
leon.vitanos
June 15th, 2011, 02:10 PM
Your best bet would be to include a script in the folder which contained
java -jar myJar.jar
Then you could just click on the script.
Paul
Thanks! ;)
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.