Results 1 to 8 of 8
- 01-07-2009, 04:23 PM #1
- 01-07-2009, 04:40 PM #2
you will have to use the java command to execute your compiled java class. In order for you to do that, you will have to set your path in control panel -> system ->advanced -> environment variables to point to your installation of the JRE.
- 01-07-2009, 04:45 PM #3
i ve pointed to .;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip so i can execute programs with which command?
- 01-07-2009, 04:47 PM #4
you want to point to C:\Program Files\Java\jre1.6.0_07\bin directory so you have access to the java command
- 01-07-2009, 04:52 PM #5Member
- Join Date
- Jan 2009
- Rep Power
Once you've done what logicbug said, you can run your java programs with this command....
java -jar xxxx.jar
where xxxx.jar is the name of your jarfile
- 01-07-2009, 04:54 PM #6
Ok i did it, thank my friend.
- 01-07-2009, 04:55 PM #7
i run my programs with this C:\> javac."".java
- 01-07-2009, 04:57 PM #8
- By pbpersson in forum New To JavaReplies: 16Last Post: 08-11-2008, 06:42 AM
- By JavaBean in forum Java SoftwareReplies: 0Last Post: 03-01-2008, 11:18 PM
- By Felissa in forum Advanced JavaReplies: 2Last Post: 07-01-2007, 03:14 AM