Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Anybody know what the resolution to this turned out to be? I am having the
same problem now, that is, trying to run JAVAC from JDK1.3 on V4R5 and I get
errors on every line, even a simple Hello World cannot find basic classes
such as String:
class Hello {
public static void main (String args[]) {
System.out.println("Hello World");
}
}
Hello.java:2: cannot resolve symbol
symbol : class String
location: class Hello
public static void main (String args[]) {
^
Hello.java:3: cannot resolve symbol
symbol : class out
location: package System
System.out.println("Hello World");
^
2 errors
I tried including java.lang.* but that didn't help. I searched the archives
and saw where you guys were talking about this several months ago, but I
don't see any explanation ever given, except for the CCSID theory which
didn't appear to help.
THANKS,
-Marty
-------------- original message ----------------
Subject: JAVAC under JDK 1.3 doesn't work
From: Darrell.Kavanagh@xxxxxxxxxxxxxxxxxx
Date: Mon, 18 Jun 2001 09:16:30 +0100
Title: JAVAC under JDK 1.3 doesn't work
Hi,
I recently installed the JDK 1.3 (Licensed Program 5769JV1 option 5) on our
V4R5 box. We are running with Cumulative PTF C110450 and Java group PTF
SF99068-04 dated 03/02/01.
JAVAC does not work under JDK 1.3 - I get "cannot resolve symbol" errors on
every line, for example, on a simple hello world program:
QSH Command Entry
£
> java -version
java version "1.3.0"
£
> javac hello.java
hello.java:2: cannot resolve symbol
symbol : class String
location: class Hello
public static void main (String args^]) {
¢
hello.java:3: cannot resolve symbol
symbol : class out
location: package System
System.out.println("Hello World");
¢
2 errors
£
I had created a SystemDefault.properties file and added the line
java.versionÑ.3. I also added the symbolic links to the various JDK
extensions, although this simple program only uses String and
System.out.println.
If I change my SystemDefault.properties value to java.versionÑ.2, the JAVAC
works fine.
Has anyone any ideas?
Thanks,
Darrell.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.