Al tratar de instalar Oracle WebLogic Server en mi flamante MAC OS X (Snow Leopard 10.6.5) me tope con un raro problema, el instalador no me detecto mi JDK aunque antes de ejecutarlo había seteado la variable JAVA_HOME, intente agregarlo y no fue posible tampoco, asi que me di a la tarea de buscar la solución.
Ejemplo del problema:
<-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
JDK Selection (Any * indicates Oracle Supplied VM):
---------------------------------------------------
JDK(s) chosen for use with this product installation will be installed. Supported defaults if not deselected will be used in script string-substitution.
1|Add Local Jdk
*Estimated size of installation: 634,2 MB
Enter 1 to add or >= 2 to toggle selection OR [Exit][Previous][Next]>
<-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
JDK Selection (Any * indicates Oracle Supplied VM):
---------------------------------------------------
JDK(s) chosen for use with this product installation will be installed. Supported defaults if not deselected will be used in script string-substitution.
"Local Java Home " = []
** Invalid Java Home
** /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
Enter new Local Java Home OR [Exit][Previous][Next]>Buscando encontre esta entrada en el foro de Oracle:
$ cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
$ sudo mkdir -p jre/lib
$ cd jre/lib
$ sudo touch rt.jar
$ sudo touch core.jar
$ cd
$ export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
$ export PATH=$JAVA_HOME/bin:$PATHEjecutar el instalador con :$ java -Xmx1024m -Dos.name=unix -jar wls1033_generic.jarCon esto debiera funcionar y continuar con la instalación.
0 comentarios:
Publicar un comentario