java compile
Posted: Wed Apr 13, 2005 9:16 am
yes, I'm compiling a small driver, which references a .jar file placed into the jre/ext directory off the java home. My classpath also has a . referencing the current directory. Yes, I'm using windows XP.
Ok, here is my question. I can compile and run the java program I wrote just fine ... it compiles/runs/does everything it needs to do.
However, when i drop to a dos command line, and compile the driver, and run it with java LoadDriver, it fails.
I suspect TextPad is automatically setting up a classpath? Or does it override? I have the latest versions, and it shows the $filedir and $basedir.
I did try setting the classpath to various settings to no avail. Sure, it compiles under textpad, but not manually. So I'm not sure what textpad is loading for defaults/classpath/etc. I'm sure its some stupid classpath problem which appears common to java. I don't know why the folks who created java can't make it easier to configure. Oh yes, I have java sdk 1.4.2.
thanks for any feedback of why textpad works (really!) and the manual command doesn't.
Ok, here is my question. I can compile and run the java program I wrote just fine ... it compiles/runs/does everything it needs to do.
However, when i drop to a dos command line, and compile the driver, and run it with java LoadDriver, it fails.
I suspect TextPad is automatically setting up a classpath? Or does it override? I have the latest versions, and it shows the $filedir and $basedir.
I did try setting the classpath to various settings to no avail. Sure, it compiles under textpad, but not manually. So I'm not sure what textpad is loading for defaults/classpath/etc. I'm sure its some stupid classpath problem which appears common to java. I don't know why the folks who created java can't make it easier to configure. Oh yes, I have java sdk 1.4.2.
thanks for any feedback of why textpad works (really!) and the manual command doesn't.