Jump to content

JDK Questions


3 posts in this topic

Recommended Posts

Helo, i'm newbie here, having questions about JDK.

I installed 10.5.1 on my Compaq v3130TU, quite difficult but finally made it.

 

I'm currently trying to install WebLogic Platform 8.1 SP 6. From google, I was able to download the generic version and install it. Installation is okay but error always pop up when running Workshop.

 

my doubt is when doing JDK fix which I got from here http://www.oreillynet.com/cs/user/view/cs_msg/31140

1: sudo su -

2: mkdir -p /Library/Java/Home/jre/bin

3: mkdir /Library/Java/Home/jre/lib

4: cd /Library/Java/Home/jre/bin

5: ln -s ../../bin/java

6: cd ../lib

7: ln -s ../../../Classes/classes.jar rt.jar

 

i can see the result of line 1-5

step 6, i'm a bit confuse because no ../lib so i did cd lib

step 7, totally confuse because I couldn't find any Classes folder

 

I hope if someone here had experience with similar task would help me. If anybody has questions about steps prior, I am also glad to answer. :D

Link to comment
Share on other sites

Helo, i'm newbie here, having questions about JDK.

I installed 10.5.1 on my Compaq v3130TU, quite difficult but finally made it.

 

I'm currently trying to install WebLogic Platform 8.1 SP 6. From google, I was able to download the generic version and install it. Installation is okay but error always pop up when running Workshop.

 

my doubt is when doing JDK fix which I got from here http://www.oreillynet.com/cs/user/view/cs_msg/31140

 

 

i can see the result of line 1-5

step 6, i'm a bit confuse because no ../lib so i did cd lib

step 7, totally confuse because I couldn't find any Classes folder

 

I hope if someone here had experience with similar task would help me. If anybody has questions about steps prior, I am also glad to answer. :D

 

Hello and welcome to our forum!

 

- Step 6, should work because you descend into the /Library/Java/Home/jre/bin in step 4 and then go up one level and into lib (../lib).

 

- step 7 will not work on Leopard because there is no Classes folder in the Java directory (at least, I wasn't able to find one).

 

All the "fix" does is to re-route the java path that the app seems to be looking for via a soft-link. If so, then maybe you can configure the app to look for what it needs elsewhere. Maybe there is even a configuration window for that?

 

Take into consideration that this fix was intended to be used on a fairly old version of OSX (Panther), so I would suggest you try to find a solution for Leopard instead.

What exactly seems to be the problem with the application you are trying to run? Is it even Leopard compatible? (I know it's Java based but it obviously isn't configured correctly to run on Leo).

 

Cheers,

 

hecker

 

EDIT: Just as a side note: the fix you're trying to apply does not fix the JDK (it is not broken). The issue is with the application, not Java.

If you want to see if your Java is working correctly, type in the following in a terminal window:

java -version

You should get a line containing some info about java, like this:

java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)

Link to comment
Share on other sites

Thanks for the greet and response, hecker.

 

Now I begin to understand how Leo's java ...

Well since WebLogic has a lot of scripts that set quite a lot environment variables which I haven't really go deep yet .. may be I'll temporarily go back to my windows :)

Link to comment
Share on other sites

 Share

×
×
  • Create New...