Do you know why my JDK1.3 Javac command failed on the V4R5 machine? I compiled a simple java program, it reported...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
that could not find class like String, Object. I'm attaching the output at end of the message. The Java command works fine. Also, if I set Java Version to 1.2 ans 1.1.8, Javac works fine.
It appears that a class is missing, or your arguments are not being interpreted correctly at compile time. You can enter the command shell using the QSH command. Run your Java compile using the -verbose switch. This should show you the step and class that is not being interpreted correctly. In QSH, you can get help for the Java and Javac commands by entering the -h switch: java -h.
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.