Compiling Java code into an executable application

L

lalalala

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.
 
C

Chris

lalalala said:
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.
 
J

jmcgill

lalalala said:
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?
 
A

Alex Hunsley

lalalala said:
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!)
 
J

jcsnippets.atspace.com

lalalala said:
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
 
L

lalalala

Thank you very much JayCee for the clear and concise link and
explanation.
I appreciate it very much
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top