Thanks everyone ! I got it :) On Sun, Nov 22, 2009 at 11:51 AM, Herianto <[email protected]> wrote:
> If you use Windows, try this: > > 1. Open the Command Prompt (Start menu -> All Programs -> Accessories -> > Command Prompt) > 2. Go to the folder where Hello.jar is placed. For example: CD > myjavaprograms > 3. Type this: > java -jar Hello.jar > If you installed the JRE correctly, it should work. But if it doesn't work, > try this example: > C:\"Program Files"\Java\jre6\bin\java -jar Hello.java > > Please note C:\"Program Files"\Java\jre6 is the directory where I installed > the JRE, if you installed it on different directory, just replace the path > it the example above. > > Regards, > Heri > > > --- On Sat, 11/21/09, will phan <[email protected]> wrote: > > > From: will phan <[email protected]> > > Subject: [java programming] Need some help with Java compiler > > To: [email protected] > > Date: Saturday, November 21, 2009, 11:05 PM > > Hi everyone ! > > > > I've just started with this course and now I have a > > problem. > > I have a Hello project and then build it to Hello.jar. When > > I double click on this Hello.jar nothing happens. How can I > > execute it directly !? (not convert to .exe) > > > > > > Hope somebody can show it to me ! Many thks > > > > > > > > > > -- > > > > To post to this group, send email to > > [email protected] > > > > To unsubscribe from this group, send email to > > [email protected]<javaprogrammingwithpassion%[email protected]> > > > > For more options, visit this group at > http://groups.google.com/group/javaprogrammingwithpassion?hl=en > > > > > -- > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected]<javaprogrammingwithpassion%[email protected]> > For more options, visit this group at > http://groups.google.com/group/javaprogrammingwithpassion?hl=en > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en
