i've installed j2re1.4 [java runtime enviroment] and need to start some programs [actualy i have pack of java files, which was created to run on win. but i think there is posibility to run on linux os. any ideas?
Java programs run inside a virtual machine and so are platform independant, so even though it was compiled on Windows it should run without problems on Linux.
*.java files contain java source code and must be compiled to byte code before they can be executed. This can be done using "javac <file to compile>. The .class file(s) produced can then be run with the command "java <class file>" or if the java files have been packaged into a java archive (jar) "java -jar <jar file>".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.