If you installed JDK 6 (1.6) using the Oracle RPM, you should have it
installed correctly.

Use this command either as root or via sudo to change the active
version: "alternatives
--config java"

I had it running on CentOS 5 just fine for the last year or so.

Good luck

Ken


>
> ------------------------------
>
> Message: 4
> Date: Wed, 28 Mar 2012 19:12:26 -0400
> From: Pascal Robert <[email protected]>
> To: Oscar González <[email protected]>
> Cc: [email protected]
> Subject: Re: Installing WebObjects 5.3.3 in a Red Hat 5.2
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> Le 2012-03-28 à 16:45, Oscar González a écrit :
>
> > Hi all,
> > I had try to install the WebObjects 5.3.3 in a Red Hat 5.2,
>
> I do hope it's RedHat Enterprise Linux 5.2, not the old RedHat 5.2 from
> the 90s :-)
>
> > but after I follow the instructions from the wiki, and try to start the
> wotask and monitor by,
> > $NEXT_ROOT/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd &
> >
> $NEXT_ROOT/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
> -WOPort 56789 &
> > I got this error:
> > java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone
> >    at java.lang.Class.initializeClass(libgcj.so.7rh)
> >    at
> com.webobjects.foundation.NSLog$PrintStreamLogger.<clinit>(NSLog.java:1643)
> >    at java.lang.Class.initializeClass(libgcj.so.7rh)
> >    at com.webobjects.foundation.NSLog.<clinit>(NSLog.java:497)
> >    at java.lang.Class.initializeClass(libgcj.so.7rh)
> >    at
> com.webobjects.foundation._NSUtilities.<clinit>(_NSUtilities.java:154)
> >    at java.lang.Class.initializeClass(libgcj.so.7rh)
> >    at
> com.webobjects.appserver.WOApplication.<clinit>(WOApplication.java:165)
> >    at java.lang.Class.initializeClass(libgcj.so.7rh)
> >    at java.lang.Class.initializeClass(libgcj.so.7rh)
> >    at java.lang.reflect.Method.invoke(libgcj.so.7rh)
> >    at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
>
> > the weird thing is that after installing java 1.6, I do a java -version
> and the answer is "java version 1.4.2",
>
> You probably have the 1.4 JVM from GNU, which is total crap (remove it
> with yum erase, I think the package name is gnu-jvm14 or something like
> that). You can use "alternatives" to specify which JVM you want
> (alternatives will simply install symlinks so that /usr/bin/java points to
> your desired JVM).
>
> > I don't know is this for having the wrong version of the jdk.
> >
> > thanks.
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-dev mailing list      ([email protected])
> > Help/Unsubscribe/Update your Subscription:
> >
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> >
> > This email sent to [email protected]
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to