Re: classpath Programming Software Development by G-Do … from a command (DOS) terminal, you can override the environment classpath on the command line by saying: C:/> javac… -classpath c:/blah/blah/blah; and C:/> java -classpath c:/blah/blah/blah; where the… "c:/blah/blah/blah;" business is your classpath. If you want to check that [i]your[/i… classpath Programming Software Development by ramya_rav2000 … to compile. I do not know how to set the classpath. I set it by going to Control Panel -> System… clicked on the Edit button after selecting the "CLASSPATH" variable My classpath is "C:\WINNT\System32\QTJava.zip;C… Re: classpath Programming Software Development by ramya_rav2000 Should I restart the system for the classpath to take effect? Re: Classpath Programming Software Development by Kate Albany …code from the JProc folder. Why then include '.' in your classpath? as in this case '.' and 'C:\WINDOWS\Desktop\JProc\'… in these forums that you should include '.' in your classpath. But all this does (unless you specifiy other direct …specific directory every time. I never include '.' in my classpath's and it always works just fine, also this frees… Re: Classpath Programming Software Development by hooknc … often in these forums that you should include '.' in your classpath. But all this does (unless you specifiy other direct paths… dot. The dot adds your current working directory to the classpath. That is all. It doesn't cause your application to… Re: Classpath Programming Software Development by Kate Albany … anyone know the purpose of the ; when when setting the classpath?[/QUOTE] It is used as a path delimiter. Without it… one location. For instance, to include two jars in the classpath to support your application you might do the following: java… Re: CLASSPATH Programming Software Development by NormR1 I don't know where the OS keeps its value of the CLASSPATH environment variable. If you want to get the current value of the CLASSPATH variable, see System Properties: java.class.path and sun.boot.class.path Classpath Programming Software Development by freesoft_2000 … everyone, I need to ask a very generalised question about classpath. Now i have a java class file named JTim.class… Re: Classpath Programming Software Development by freesoft_2000 Hi everyone, Kate and hooknc, after i removed the . i still got the same results and this thing is really puzzling me and the best part is still i still do not know why it is like that? By the way does anyone know the purpose of the ; when when setting the classpath? Richard West Re: Classpath Programming Software Development by Kate Albany … code from the JProc folder. Why then include '.' in your classpath? as in this case '.' and 'C:\WINDOWS\Desktop\JProc\' will… classpath Programming Web Development by ceyesuma I need some help with my classpath I think. My project compiles yet the jsp can not find the classes. What can I check to make sure the classes are going to the right folder? CLASSPATH Programming Software Development by Danny_501 Hi all, Is there any way to get the location of the CLASSPATH environment variable within a pragram. I need to get the location of rt.jar so that I can dynamically load the classes within that jar file using URLClassLoader. thanks in advance. Re: CLASSPATH Programming Software Development by Danny_501 Thanks for you help, but I do need the value of the OS CLASSPATH. Does anyone know any other System properties that would return this. thanks. Re: CLASSPATH Programming Software Development by Danny_501 Awesome, thanks for your help. [CODE]System.getenv("CLASSPATH")[/CODE] classpath wrong, how to set it? Programming Software Development by yap …Does this mean that derby.jar is not in classpath? My current classpath is: .;C:\Program\Java\jre1.6.0_02\lib…\ext\QTJava.zip Question 2: Is this a correct classpath? Should there not be a semicolon ; between two entries…have to pay attention not to overwrite important parts of classpath already set? I really appreciate every help. Thank … classpath errors Programming Software Development by gerik …to work out this error with packages, changing the classpath name in a number of different ways (using set… make sure it appears in the correct subdirectory of the classpath. Koe a = new Koe(); ^ 2 errors It… current direction, despite the fact that I have the classpath set to ./classes (more specifically, /Users/dshaw/lahdekoodit… Re: classpath wrong, how to set it? Programming Software Development by yap …. Any idea to solve this problem. Maybe it is the classpath. Or shall i go back to old version 5.0… Classpath doubt in Java development. Programming Software Development by rahul.ch … and Bert Bates in Development chapter. Q. Given the default classpath: /foo And the directory structure: foo | test | xcom |--A.class… snippet section. Amongst the choice, 1. javac -classpath . xcom/B.java 2.javac -classpath xcom:. B.java Correct answer is option 1… $Classpath and Libraries Programming Software Development by pattmorter … 100% sure what that means. When i do a `echo $classpath` in terminal nothing happens. I don't have trouble compiling… as i do `javac -d . *.java` which is because the classpath not being there? So basically im asking: * Where do I… Re: classpath errors Programming Software Development by jwenting you need to add the current directory to the classpath as well. It's not there by default on most modern operating systems for security reasons. Re: classpath errors Programming Software Development by gerik How do you add the current directory to the classpath? classpath error? or something close to that. Programming Software Development by kilermage … make sure it appears in the correct subdirectory of the classpath. public static CommandManager CommandManager = null; ^ Press any key to continue… Re: classpath Programming Software Development by jwenting that depends on your operating system. At the least you must restart your terminal windows and Java based applications for them to see the change. Re: classpath Programming Software Development by ramya_rav2000 Hi Thanks a lot I got it to work. I had to specify the -bootclasspath before I cud get it to work as I am using J2ME Thanks ramya Re: classpath Programming Software Development by jwenting cud: ball of partially digested vegetable matter regurgitated by hooved animals. What's that to do with Java? Re: Classpath Programming Software Development by jwenting Where are you running the command from, in other words what is the current directory? Logic says it should run the class in the JProc folder and not in any underlying folders unless they're part of a package you're calling. So I assume you're actually in the JProc/JProcTim folder which would cause the class there to be used as it then has a … Re: Classpath Programming Software Development by freesoft_2000 Hi everyone, [QUOTE=jwenting]Where are you running the command from, in other words what is the current directory?[/QUOTE] The current directory is JProc [QUOTE=jwenting]Logic says it should run the class in the JProc folder and not in any underlying folders unless they're part of a package you're calling.[/QUOTE] No they are not part … Re: Classpath Programming Software Development by freesoft_2000 Hi everyone, Kate and hooknc, after i removed the . i still got the same results and this thing is really puzzling me and the best part is still i still do not know why it is like that? Richard West Re: Classpath Programming Software Development by hooknc Please write a simple example of code that replicates your issue and then post the code and exactly how you're attempting to run your code. It is hard to help you when you're so brief. We're not mind readers. Re: CLASSPATH Programming Software Development by NormR1 Also look at the System class. It has method(s) to get the environment variables.