Java of jar file
•
Java
I created a Java application and packaged it into a jar file on the windows platform Now I want to deploy the jar file on Debian Linux
>Is the same jar file applicable to Debian Linux? > Is the command used to execute jar files from the command prompt the same as debain Linux in windows?
Namely
java -jvm "MyJar.jar"
Is the above command applicable to Debian Linux?
Solution
Yes
Jar files can be ported across platforms, and the syntax of jar commands is the same on Linux and windows
Editor: you should use the latest version of Sun Java unless there is a good reason not to do so Installation instructions: http://wiki.debian.org/Java/Sun
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码