aspose file tools*
The moose likes Cattle Drive and the fly likes javacommon.zip and partitioned hard drive. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "javacommon.zip and partitioned hard drive." Watch "javacommon.zip and partitioned hard drive." New topic
Author

javacommon.zip and partitioned hard drive.

Richard Boren
Ranch Hand

Joined: Mar 01, 2001
Posts: 233
My hard drive is partitioned C: and D: on Windows NT 4.0.
I have all my source in D:\my_java while the JDK is on the C: (C:\jdk1.3\...). I use CLASSPATH=D:\my_java;.; and everything is fine. However; when I try to use the javaranchcommon.zip class I have to put the zip file on the C:. If I put it on the D: and modify the classpath to D:\my_java;D:\my_java\javaranchcommon.zip;.; javac can never find the com.javaranch.common.*.
This is not a show stopper, just wondering if there is a way to get javaranchcommon.zip working on my D:. My place of employment would like us to use the C: for co. software only and D: for personal stuff.
P.S. I don't set my classpath in NT's environment I use a batch file to set the classpath so that only the current DOS window is effected by my classpath setting. And yes this is a nuisance, but there are forces greater then I at work here and I think they're watching.
JC Cook
Ranch Hand

Joined: Nov 13, 2000
Posts: 32
I would recommend reinstalling the SDK on the D: drive as well, then pointing both PATH and CLASSPATH there. It works fine that way for me.
Here are my environment variables:
Richard Boren
Ranch Hand

Joined: Mar 01, 2001
Posts: 233
Good to hear from you JC.
I checked with our asset mgr. and he said they consider the JDK co. related software that will be used for future training (and I'm hoping use), so they want me to leave it on the C:.
Since it is working the way I have it now I'll just leave it as is, but in the future if things change I will use your advice. We're supposed to be getting new PC's and hopefully they'll not use a partitioned hard drive.
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javacommon.zip and partitioned hard drive.