The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


jdk1.3.1 on redhat 7.1

Posted by akibu on October 02, 2001 at 8:22 AM

I am having strange problems with the jdk1.3.1 on redhat 7.1. I am following suns java tutorial and several of the examples don't compile when they should. They compile fine on my windows box but the linux one gives me some strange errors. (by the way, up untill now it was giving me no problems) The first source it didn't like was here.
The compiler tried to tell me that: error:Cannot access field "timer" it is in an other package and not a class member [JLS 15.10]
However this compiled fine on my windows box, and in accordance with java logic it should have compiled.
In a later example the compiler could not find the class JFrame which should have come with the jdk.
If anybody has had similar problems or knows of a solution I would bw extreamly greatful.

Thanks for your time.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us