Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

Compiling Java code into an executable application

Thread view: 
lalalala - 29 May 2006 20:32 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.
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.