Gentoo Archives: gentoo-user

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

Replies

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