Executing Java-code?

Started by
13 comments, last by PurpleAmethyst 17 years, 10 months ago
You could also try looking at Java webstart.
Advertisement
Quote:Original post by bgilb
its not about being more complicated its about whats more convient for the end user and sadly lots of people have no clue what a jar file is.


YEs and not every1 wants to download a *** sdk to run java... or a virtual machine or whatever
Quote:Original post by Anonymous Poster
YEs and not every1 wants to download a *** sdk to run java... or a virtual machine or whatever


right, but that's the whole point of Java and what makes it platform independent. It _cannot_ run without a virtual machine. Windows comes with a built in JVM. As previously mentioned if you don't want your users to suffer potential hassle, do the leg work and make your java app an EXE: but then you've just lost the biggest benefit of Java because now only windows users can run your app.

-me
Write a Windows BAT file or a 3-line C program to run

java MyClass
Eclipse has a wizard that can create JAR files in seconds. JAR files are just ZIP files with a MANIFEST file(thats a text file) and META-INF directory stuck in to tell it what class to run, you can make them with winzip too. Look what [Google] gives you everything you want to know about JAR files!!!

This topic is closed to new replies.

Advertisement