Java Code Samples

Installing Weblogic on MacOS short notes (reminder for later …)

Posted in Java by Cristian on July 4, 2012

I had some problems that when I tried to launch the installer from Weblogic the installer UI did not detected the JAVA_HOME.

Despite I installed RcEnvironment ,
which is after installation accessible from bottom system preferences on Other ==> Env. Variables., it still did not worked !? 😦

I asked on fault :

However the above link solved some Path and Environment variable on my Mac but did not solved the real problem.

Update : The above is not valid for Mountain Lion 😦

For setting JAVA_HOME and other environment variables :

The problem was solved following a link that concern instalation of JDeveloper.
Here is the link :

So i run the command :
chmod +x
then ./

mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6
mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/bin
ln -s /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/bin/java /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/bin/java
ln -s /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/bin/javac /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/bin/javac
ln -s /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/bin/javap /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/bin/javap
ln -s /System/Library/Java/Support/Deploy.bundle/Contents/Home/bin/javaws /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/bin/javaws
ln -s /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/bin/jar /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/bin/jar
ln -s /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/bin/xjc /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/bin/xjc
mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/lib
ln -s /system/library/java/javavirtualmachines/1.6.0.jdk/contents/classes/classes.jar /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/lib/tools.jar
mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/jre
mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/jre/bin
ln -s /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/bin/java /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/jre/bin/java
mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/jre/lib
ln -s /system/library/java/javavirtualmachines/1.6.0.jdk/contents/classes/classes.jar /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/jre/lib/rt.jar

Update …

It seems now that I have Insufficient disk space no matter that in reality I have way more then 300GB free 🙂

Well luckily I am not the first one that had this problem so the solution came quite fast  :

As it is written in this blog the problem is that i need to run the installation jar with the following argument :

java -XX:MaxPermSize=512m -Xmx1024m -jar wls1034_generic.jar

Tagged with: , , ,

One Response

Subscribe to comments with RSS.

  1. JavaPins said, on August 7, 2012 at 6:13 pm

    Installing Weblogic on MacOS short notes (reminder for later …) « Java Code Samples…

    Thank you for submitting this cool story – Trackback from JavaPins…

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: