Installing OCCAS 4.0 on Mac OS X

The OCCAS 4.0 installer has a problem with the Mac OS X JDK. It looks for ./jre/lib/rt.jar in the $JAVA_HOME directory. Unfortunately, the Mac doesn't have rt.jar in it's JRE installation. To trick the installer into working, we need to make one. Here are a couple of steps to help you out.

export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
export PATH=$JAVA_HOME/bin:$PATH
export JAVA_OPTIONS=-Dweblogic.management.allowPasswordEcho=true -Dos.name=unix -Xmx512m -XX:MaxPermSize=512m

mkdir $JAVA_HOME/jre
mkdir $JAVA_HOME/jre/lib
touch $JAVA_HOME/jre/lib/rt.jar

then to run the 'generic' installer:
java $JAVA_OPTIONS -jar owlcs1030_generic.jar

That should do it... When you're done, you can delete the bogus 'rt.jar' file if you like.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

bocadmin_ww

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today