按照攻略,安装到选择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]
安装成功
本文提供了一种解决WebLogic 10g在Mac OS X上安装过程中无法识别JDK的问题的方法。通过特定步骤手动配置JVM路径,并调整内存设置,确保安装程序能够正确检测到JDK并完成安装。
4965

被折叠的 条评论
为什么被折叠?



