Hi,
I have created an inventory program on java and I was wondering if
anyone could guide me in compiling my java code into an active applet
that can be opened within windows, rather than having to run the
program from the java editor.
Chris - 29 May 2006 22:18 GMT
> Hi,
> I have created an inventory program on java and I was wondering if
> anyone could guide me in compiling my java code into an active applet
> that can be opened within windows, rather than having to run the
> program from the java editor.
You can run java programs from the command line. "java MyMainClass" is the
syntax. Google around to see how to do this.
If the question you're asking is how to compile to code into a native
executable, then google "java compiler". There are lots of them. Also check
Roedy Green's java glossary.
jmcgill - 29 May 2006 23:13 GMT
> Hi,
> I have created an inventory program on java and I was wondering if
> anyone could guide me in compiling my java code into an active applet
> that can be opened within windows, rather than having to run the
> program from the java editor.
"Active applet?"
Do you mean that explicitly, or are you perhaps abusing the jargon a bit?
There are solutions for compiling java, and ways to deliver a java
application that make it more convenient for the user to run. What is
your motivation for this? Is one of your goals to hide your
implementation from your user? Or are you only trying to make it
conveniently packaged?
Alex Hunsley - 30 May 2006 00:45 GMT
> Hi,
> I have created an inventory program on java and I was wondering if
> anyone could guide me in compiling my java code into an active applet
> that can be opened within windows, rather than having to run the
> program from the java editor.
For starters, google for "difference between java application and
applet" or similar phrase (in quotes!)
jcsnippets.atspace.com - 30 May 2006 15:58 GMT
> Hi,
> I have created an inventory program on java and I was wondering if
> anyone could guide me in compiling my java code into an active applet
> that can be opened within windows, rather than having to run the
> program from the java editor.
An "applet" is something you'd expect to encounter in browsers, so I'm
guessing you're looking for a way to create a standalone application.
In that case, have a look at JavaLauncher:
http://www.syncedit.com/software/javalauncher/ , an easy tool to create an
.exe file.
Best regards,
JayCee
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks
lalalala - 30 May 2006 19:17 GMT
Thank you very much JayCee for the clear and concise link and
explanation.
I appreciate it very much