Skip to main content



      Home
Home » Newcomers » Newcomers » Running Java programs
Running Java programs [message #125003] Tue, 20 December 2005 10:51 Go to next message
Eclipse UserFriend
Originally posted by: ajkloft.msn.com

greetings everyone,
I am currently writing a simple guitar chord dictionary for my sister
and was curious as to how I could make it so she could use the program
without using Eclipse.

So basically I want to know how to run the program outside of Eclipse
or any other compiler. Thanks

Alex
Re: Running Java programs [message #125221 is a reply to message #125003] Mon, 27 July 2009 15:12 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.ptoye.com

In article <a470ed0e68234005af5a30eeea390999$1@www.eclipse.org>,
ajkloft@msn.com (Alex Kloft) wrote:

> *From:* ajkloft@msn.com (Alex Kloft)
> *Date:* Tue, 20 Dec 2005 15:51:13 +0000 (UTC)
>
> greetings everyone,
> I am currently writing a simple guitar chord dictionary for my
> sister and was curious as to how I could make it so she could use the
> program without using Eclipse.
>
> So basically I want to know how to run the program outside of
> Eclipse or any other compiler. Thanks
>
> Alex
>
>
Well, I'm a bit of a newbie here myself, so no doubt someone with far more
knowledge than myself will answer with a far more comprehensive answer.

What I do is to use the File|Export|JAR file menu to export the output
folders as a JAR file. Don't forget to tell the wizard which of the
classes contains the main() method. Then, as long as your sister has a JRE
installed, she can probably just double-click on the file and it will run.

She can also use the command-line option:
<path to JRE>\javaw.exe -jar <filename>

Peter
Previous Topic:Easier access to Eclipse discussions?
Next Topic:PlugIn for Eclipse
Goto Forum:
  


Current Time: Mon Jul 14 20:27:07 EDT 2025

Powered by FUDForum. Page generated in 0.07968 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top