Jdev 11g Installation
1) Download jdev installation from Oracle (generic )
2) Install JDK 1.6 version if it is not installed
JDK 1.6.0 path is /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Run the following command to install
1) Download jdev installation from Oracle (generic )
2) Install JDK 1.6 version if it is not installed
JDK 1.6.0 path is /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
3) In order for the installer to see JKD 1.6 on your Mac, you need to create a symbol link for
classes.jar:
cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
sudo mkdir jre
cd jre
sudo mkdir lib
cd lib
sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/classes/classes.jar rt.jar
sudo mkdir jre
cd jre
sudo mkdir lib
cd lib
sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/classes/classes.jar rt.jar
Run the following command to install
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -jar /Users//Downloads/jdevstudio11117install.jar
Make sure JDK Path set properly after installation
/Users//Oracle11g/Middleware11g/jdeveloper/jdev/bin/jdev.conf
if not change it properly,
Make sure JDK Path set properly after installation
/Users/
if not change it properly,
SetJavaHome /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Short Cut or alias for Jdev
Short Cut or alias for Jdev
Update the .profile or .bash_profile file with following
alias startjdev="/Users//Oracle11g/Middleware11g/jdeveloper/jdev/bin/jdev
Oracle blog : http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/Mobile_Mac_Install/Mobile_Mac_Install.html
Set $JAVA_HOME environment variable on Mac OS X
$ vi .bash_profile
alias startjdev="/Users/
Oracle blog : http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/Mobile_Mac_Install/Mobile_Mac_Install.html
Set $JAVA_HOME environment variable on Mac OS X
$ vi .bash_profile
export JAVA_HOME=$(/usr/libexec/java_home)
$ source .bash_profile
$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
Why /usr/libexec/java_home?
$ source .bash_profile
$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
Why /usr/libexec/java_home?
This java_home can return the Java version specified in Java Preferences for the current user. For examples,
/usr/libexec/java_home -V
Matching Java Virtual Machines (3):
1.7.0_05, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
1.6.0_41-b02-445, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
/usr/libexec/java_home -V
Matching Java Virtual Machines (3):
1.7.0_05, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
1.6.0_41-b02-445, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_41-b02-445, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
No comments:
Post a Comment