-
Really Portable..???.
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
-
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|