Results 1 to 5 of 5
- 07-29-2009, 04:33 PM #1
Member
- Join Date
- Jul 2009
- Posts
- 6
- Rep Power
- 0
- 08-02-2009, 04:38 PM #2
Member
- Join Date
- Aug 2009
- Posts
- 21
- Rep Power
- 0
IDE gives you a shell, but you want to run in a real shell try java -jar "your jar file name" in bash
- 08-02-2009, 08:35 PM #3
Member
- Join Date
- Jul 2009
- Posts
- 6
- Rep Power
- 0
Im still lost, can you tell me step by step
- 08-05-2009, 08:33 PM #4
Senior Member
- Join Date
- Mar 2009
- Location
- USA
- Posts
- 127
- Rep Power
- 0
* download JDK
* create a folder where you want to save all your work.
* open notepad and write your java code and save it in that folder.
*open command promt..
* change directory to that folder
* set your path e.g C:\mywork> set path=%path%;C:\Program Files\Java\jdk1.5.0_09\bin
here mywork is the folder you have created to save your java files
* after you set path
* type javac <filename>
java filename
you are done..!
- 08-05-2009, 10:19 PM #5
Member
- Join Date
- Jul 2009
- Posts
- 6
- Rep Power
- 0
Similar Threads
-
how to get the values from command prompt
By tej in forum New To JavaReplies: 3Last Post: 05-02-2009, 08:32 AM -
help me!!!! about command prompt..
By kureikougaiji in forum New To JavaReplies: 2Last Post: 11-13-2008, 06:15 PM -
Regular expressions from command prompt
By GenkiSudo in forum New To JavaReplies: 2Last Post: 09-21-2008, 02:40 PM -
Running eclipse java project on command prompt
By hnmapara in forum New To JavaReplies: 1Last Post: 07-09-2008, 08:29 AM -
Problem during executing Command Prompt
By keshari in forum Advanced JavaReplies: 4Last Post: 06-05-2008, 04:06 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks