When you recive the deployment error in netbeans that's mean you are missing these settings please do set these settings.View more random threads:
- JAVA Runescape Applet Problems
- Learning Enumeration 2011
- JAVA Error 1714. The older version of Java cannot be removed
- What does constructor do in class?Why we use copy...
- whats the difference in node stream and filter stream?
- what is the difference between Java and Java 2EE
- DML Statements in java 2011
- java documentation
- Java as Object-Oriented programming languge for students...
- How find the data in ArrayList? 2011-12
JDK Path Setting:
Follow the given steps below to set the PATH
- After installing jdk, right click “My Computer” icon
- Choose “Properties” from context menu
- Click “Advanced” tab and the click ‘Environment Variable’
- In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value. For example, if you have installed jdk in C drive then path may be in the form C:\Program Files\Java\jdk1.6.0_12\bin
- You will have to give your own path in which you have installed jdk.
- Open Command prompt window, and run your java code.
Compiling and running code
After installing jdk and path setting correctly, you can now compile and run your code on command prompt.
In order to compile the code, you have to use javac command. You can use this command as follow:
javac filename.java
After successfully compiling code, you can now run the code. You have to use java command to run the code. You can use the run command as follow:
java filename
Sponsored Links
Urgent call: 03455242488. | Virtual University Assignments
Virtual University GDBs | Virtual University Papers | Vu Projects | Vu Handouts
About Expert
There are currently 1 users browsing this thread. (0 members and 1 guests)