[Centos] Setting up Java, simple question.... CLASSPATH issues ?!? - partially solved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

Yesterday I wrote:

> I think my CLASSPATH settings are not quite hunky-dorey, as I keep 
> getting Exceptions like the following:
> ********************************************************************
> Exception in thread "main" com.thales_rts.splice.ClassError: Class 
> java.lang.String does not contain any fields which can be accessed. 
> Accessable fields must be defined public and non-static.
>    at 
> com.thales_rts.splice.TypeDescriptor.getAccessableFields(java.lang.Class) 
> (Unknown Source)
> ********************************************************************
> 
> My classpath is set in /etc/profile to be:
> /usr/java/j2sdk1.4.2_07/lib/dt.jar:/usr/java/j2sdk1.4.2_07/lib/tools.jar:/usr/java/j2sdk1.4.2_07/jre/lib/rt.jar 

I partially figured out what the issue is: it seems there are issues 
with JDK 1.4.2 installations....

I installed version 1.3.1_15 (next to the 1.4.2_07 which has the issues) 
and everything now seems to work a charm (for both installations I later 
simply left the CLASSPATH variable empty.

Has anyone else encountered such issues with JDK 1.4.2?
I remember that last year on a Debian machine we also had similar 
issues. That machine was not installed by me though, so I don't kow 
exactly how that got solved...

Cheers!
Olafo

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux