按照攻略,安装到选择JDK时,安装程序总是不认JDK
参照 http://infernus.org/2008/09/weblogic-10g-on-mac-os-x/
[quote]
1. Hack your JVM
WebLogic’s installer won’t detect the Apple JVM by default. To convince it that it’s kosher, do the following as sudo:
cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
mkdir -p jre/bin
mkdir jre/lib
cd jre/bin
ln -s ../../bin/java
cd ../lib
ln -s ../../../Classes/classes.jar rt.jar
2. Con the installer
Oracle still haven’t fixed disc space detection, so you’ll need to lie to the installer about your OS.
java -Dos.name=unix -jar server103_generic.jar
3. Knock your memory up a notch
You’ll need to modify your <domain>/bin/setDomainEnv.sh file to increase memory settings. I use:
MEM_ARGS=“-Xms512m -Xmx1024m -XX:MaxPermSize=196m”
[/quote]
安装成功
参照 http://infernus.org/2008/09/weblogic-10g-on-mac-os-x/
[quote]
1. Hack your JVM
WebLogic’s installer won’t detect the Apple JVM by default. To convince it that it’s kosher, do the following as sudo:
cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
mkdir -p jre/bin
mkdir jre/lib
cd jre/bin
ln -s ../../bin/java
cd ../lib
ln -s ../../../Classes/classes.jar rt.jar
2. Con the installer
Oracle still haven’t fixed disc space detection, so you’ll need to lie to the installer about your OS.
java -Dos.name=unix -jar server103_generic.jar
3. Knock your memory up a notch
You’ll need to modify your <domain>/bin/setDomainEnv.sh file to increase memory settings. I use:
MEM_ARGS=“-Xms512m -Xmx1024m -XX:MaxPermSize=196m”
[/quote]
安装成功