Jump to content

Java Classpath Windows: Difference between revisions

Added images to page.
(Info on changing java classpaths on windows. Images to follow.)
 
(Added images to page.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The Java Classpath is are the directories and files on the disk that the java development kit will scan when compiling a program.<br>
The Java Classpath is a list of the directories and files on the disk that the java development kit will scan when compiling a program.<br>
These directories and files contain classes that can then be used in your program.<br>


This can be added or modified on Windows by following the following steps.<br>
This can be added or modified on Windows by following the following steps.<br>
Line 15: Line 16:
Now when you run javac it will check the C:\Program Files\Redbrick directory for any class or jar files and include them in your project.<br>
Now when you run javac it will check the C:\Program Files\Redbrick directory for any class or jar files and include them in your project.<br>
You will need to close and reopen any terminals you are currently using as it does not affect the current session.
You will need to close and reopen any terminals you are currently using as it does not affect the current session.
<u>Images</u>
<gallery>
Image:Java_Classpath_Img_1.png | Step 1
Image:Java_Classpath_Img_2.png | Step 2
Image:Java_Classpath_Img_2-1.png | Step 2.1
Image:Java_Classpath_Img_3.png | Step 3
Image:Java_Classpath_Img_3-1.png | Step 3.1
Image:Java_Classpath_Img_4.png | Step 4
Image:Java_Classpath_Img_6.png | Step 6
Image:Java_Classpath_Img_7.png | Step 7
</gallery>