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 <khumbula@iafrica.com> wrote in message
news:38e47deb$2@news.devx.com...
>
>
> Hi,
>
> 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
machines
> 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.
>
> Thanks
> Khumbula