Click to See Complete Forum and Search --> : Java Question
Energon
10-14-2000, 10:03 PM
I'm writing some java stuff on my laptop (linux) and am wanting to run them on my desktop (winme)... but I'm lost on how to run programs w/o actually having the jdk installed... and I don't want to make an applet (trying for a full program here)... so how do I go about running the programs on my desktop?
Thanks...
Strike
10-14-2000, 10:41 PM
I believe you may need the JRE (Java Runtime Environment), or you could always make it into an applet and then put it in a webpage with the <APPLET> tag.
Dru Lee Parsec
10-14-2000, 10:57 PM
Yep! IF you just want to run Java programs and not compile them then you need the JRE (Java Runtime Environment) from www.javasoft.com (http://www.javasoft.com)
Luckly, while the JDK is over 30 megs, the JRE is only about 5 megs so it's an easy download if you're using a modem. If you have a Cable Modem or DSL you won't even notice it. http://www.linuxnewbie.org/ubb/smile.gif
Follow the installation instructions (which essentially are "Put java in your path") and you'll be all set.
Energon
10-14-2000, 11:34 PM
So... if I javac my program, the only to "distribute" it other than as an applet is by having the end-user download the JRE?
Larkfellow
10-15-2000, 10:30 AM
Yep, they have to have the program to run java programs on thier computer (JRE if it's only the runtime, or they get it if they have the Java compilier on their computer too). Actually that's the way applets work too. The Browsers have a small interpeter in them (Virtual machine in IE, not exactly sure what Netscape calls it, possibly the same thing).
Energon
10-15-2000, 01:01 PM
So how would a game, such as Vampire: The Masquerade (which I hear was programmed w/ Java) and Unreal Tournament (which uses a fair amount of Java I hear) run?
Sterling
10-15-2000, 03:44 PM
Umm... I don't think Java's used in any games. Especially not something like Unreal Tournament, which is based on an updated version of the Unreal engine. If it was, they'd probably have acquired some license from Sun to include a Java interpreter in the install.
------------------
-Sterling
-This post made with the Lizard! (http://www.mozilla.org)