Re: Really Portable..???.
Each user machine must have a Java runtime environment (JRE) installed. You
distribute the class files (*.class), not the source files (*.java). To run
a Java program (a class that has one of those public static void
main(String args) methods), you'll probably still run "java MyClass" but
this will refer to the "java" executable in the JRE. The JRE documentation
should explain this, it will vary depending on where it runs.
Khumbula <email@example.com> wrote in message
> Can one create an .exe app in Java and take it and run it on
> another machine?Do I have to take all .(dot)java files to all the
> that I want to use my app in and run javac/jview in
> a batch file?
> May be my question should be...How do I deploy applications to
> my User machines?
> Your help would be highly appreciated.