Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Keyword for dev-java/sun-j2ee
Date: Thu, 11 Feb 2010 23:22:28
Message-Id: 201002120112.53470.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Keyword for dev-java/sun-j2ee by dhk
1 On Friday 12 February 2010 00:58:52 dhk wrote:
2 > I put /usr/bin/java back the way it was.
3 > ln -s /usr/bin/run-java-tool /usr/bin/java
4 >
5 > I set the CLASSPATH, got it from java-config --runtime
6 > export CLASSPATH=$CLASSPATH:/opt/sun-jdk-1.6.0.18/jre/lib/resources.jar:
7 > /opt/sun-jdk-1.6.0.18/jre/lib/rt.jar:/opt/sun-jdk-1.6.0.18/jre/lib/jsse.jar
8 > :
9 > /opt/sun-jdk-1.6.0.18/jre/lib/jce.jar:/opt/sun-jdk-1.6.0.18/jre/lib/charse
10 > ts.jar
11 >
12 > Is it safe to set the CLASSPATH as follows?
13 > export CLASSPATH=$CLASSPATH:`java-config --runtime`
14 > That seems to work too.
15 >
16 > I ran /opt/sun-j2ee-1.3.1/bin/j2ee and still got the errors. It
17 > definately looks like the CLASSPATH, but what should it be?
18
19 I'm getting out of my depth here :-)
20
21 It's been a while since I used java to any extent, and things change rapidly
22 in that arena. Perhaps you need a more java-specific forum, or wait for
23 someone with a real clue to come along and read this thread.
24
25
26
27 --
28 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Keyword for dev-java/sun-j2ee dhk <dhkuhl@×××××××××.net>