Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
CLASSPATH Environment Variable
If a class is located in a package, what do you need to change in the OS environment to be able to use it?
✍: FYIcenter
You need to add the directory or the jar file that contains the package to the CLASSPATH environment variable. Let's say a class Employee belongs to a package com.xyz.hr; and is located in the file c:\dev\com\fyicenter\hr\Employee.java. In this case, you need to add c:\dev to the variable CLASSPATH.
2007-03-03, 5697👍, 0💬
Popular Posts:
How To Control Horizontal Alignment? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells By...
Would I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars in this example?...
How To Write a Minimum Atom 1.0 Feed File? - RSS FAQs - Atom Feed Introduction and File Generation I...
Advantages of a macro over a function? Macro gets to see the Compilation environment, so it can expa...
How To Control Padding Spaces within a Table Cell? - XHTML 1.0 Tutorials - Understanding Tables and ...