Ask the Expert

JDK1.3 Javac command failed on the V4R5 machine

Do you know why my JDK1.3 Javac command failed on the V4R5 machine? I compiled a simple java program, it reported 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.


This was first published in April 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: