Thread: JDeveloper 11g Installation on Mac OSX 10.5.5

This question is answered. Helpful answers available: 5. Correct answers available: 1.


Permlink Replies: 13 - Pages: 1 - Last Post: Jul 2, 2009 2:32 AM Last Post By: user11338716
kenton.ho

Posts: 77
Registered: 06/10/99
JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 7, 2008 10:09 AM
 
Click to report abuse...   Click to reply to this thread Reply
Hi Everyone,

First, I'd like to congratulate the JDev Team on getting 11g JDev going production! This is fantastic!

I think it might still be a bit early: has anyone been able to get JDeveloper 11g installed on Mac OSX 10.5.5?

Here is what I've tried so far:

1) Download and install Sun Java SE 6 for Mac OS X 10.5 as per the installation instructions:

http://download.oracle.com/docs/cd/E12839_01/install.1111/e13666/toc.htm
http://www.apple.com/support/downloads/javaformacosx105update1.html

2) Set my Path or reference directly to Sun Java SE 6, and verify:

$ export PATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin:$PATH
$ java -version

java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)

3) Run the Installation:

$ java -jar jdevstudio11110install.jar
Extracting 0%....................................................................................................100%

4) Step through the installer and select a complete installation

5) When the JDK Selection pops-up, select the 1.6 home:

/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/

(According to the Installation, your home is the directory that contains bin. Extra slash at the end doesn't make a difference)

6) Error: Invalid Java Home

For some reason, the installer cannot determine the Java Home. I've also tried a silent install by setting the parameters in silent.xml, but it also does not work.

I added the -log=jdevInstall.log to the install command:

$ java -jar jdevstudio11110install.jar -log=jdevInstall.log

and I get this:

2008-10-07 12:46:12,945 WARN [WizardController] com.bea.plateng.wizard.installer.helpers.JVMInstallHelper - Running with Java Runtime. Need complete JDK.

I've also tried exporting JAVA_HOME, but this environment variable doesn't make a difference.

Has anyone been able to get past this stage?

MacOSX: 10.5.5

Thanks in advance!

Kenton

kenton.ho

Posts: 77
Registered: 06/10/99
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 7, 2008 11:10 AM   in response to: kenton.ho in response to: kenton.ho
 
Click to report abuse...   Click to reply to this thread Reply
Well, it looks like the more "precise" instructions are located in the "Release Notes" with a section specific for installation on MacOSX.

http://www.oracle.com/technology/products/jdev/htdocs/11/knownissues.html#install4

The installation has worked after following the instructions.

Thanks again to the JDev Team!

Kenton

user10406557

Posts: 1
Registered: 10/09/08
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 9, 2008 9:38 AM   in response to: kenton.ho in response to: kenton.ho
 
Click to report abuse...   Click to reply to this thread Reply
I've followed the instructions to create the link to rt.jar which gets me past the 1.6 JDK Selection issue, but at the Confirm Product Installation Directories Panel when I click next I get an Exit Popup that states "A fatal error has occurred. The application will exit." Which is totally not informative. Talk about information hiding. Sheesh.

Dead in the water here.
matt_1

Posts: 95
Registered: 02/07/05
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 9, 2008 10:07 AM   in response to: user10406557 in response to: user10406557
 
Click to report abuse...   Click to reply to this thread Reply
I've been using the Mac with 11g and have not run into this problem.

I'm not sure if the installer has any Applications/Utilities/Console entries though you might look in there to see if any errors are reported in there.

Aside from that, I wonder if there is anything unusual about your configuration. If Console doesn't show any errors, maybe if you posted what things you chose throughout the installer, maybe something would stand out to us?

Regards,
Matt
matt_1

Posts: 95
Registered: 02/07/05
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 9, 2008 10:33 AM   in response to: matt_1 in response to: matt_1
 
Click to report abuse...   Click to reply to this thread Reply
You can get a log file by adding " -log=./install.txt" to your "java -jar ..." call when launching the installer.

Regards,
Matt
kenton.ho

Posts: 77
Registered: 06/10/99
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 9, 2008 11:02 AM   in response to: user10406557 in response to: user10406557
 
Click to report abuse...   Click to reply to this thread Reply
That's an interesting problem.

Without knowing what parameters you used for the installation, here's a guess:

Could it be that your installation directory has a space in the name?

I.e. /Users/Firstname Lastname/Oracle/middleware

The 10g version required that your jdevhome did not have a space in the location name. I think it might also be mentioned in either the 11g Installation guide or the release notes as well.

If it still crashes, my next steps would be to add the -log= parameter as suggested, then to check the OSX console to look for anything obvious with the OS and if all else fails, then log a TAR...

I hope this helps.

Kenton

lfengl

Posts: 54
Registered: 11/07/99
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 9, 2008 4:21 PM   in response to: kenton.ho in response to: kenton.ho
 
Click to report abuse...   Click to reply to this thread Reply
Oracle should provide a JDeveloper.app like 10g did. I just download the zip file and extracted it. And then I created JDeveloper.app by myself.

Here is what I did:
1. create a folder "JDeveloper.app" in jdeveloper folder
2. create "Contents" folder under "JDeveloper.app"
3. create "MacOS" and "Resources" folder under "Contents"
4. cp /System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub Contents/MacOS/JDeveloper
5. create a JDeveloper.incs icon file under "Resources"
6. create a Java folder under "Resources"
7. create a Info.plist file like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleName</key>
<string>JDeveloper</string>
<key>CFBundleShortVersionString</key>
<string>11g</string>
<key>CFBundleGetInfoString</key>
<string>JDeveloper 11g</string>
<key>CFBundleExecutable</key>
<string>JDeveloper</string>
<key>CFBundleIconFile</key>
<string>JDeveloper</string>
<key>CFBundleIdentifier</key>
<string>oracle.ide.boot.Launcher</string>
<key>CFBundleSignature</key>
<string>JDEV</string>
<key>CFBundleVersion</key>
<string>11.1.1.0</string>
<key>Java</key>
<dict>
<key>ClassPath</key>
<string>../../ide/lib/ide-boot.jar</string>
<key>JVMVersion</key>
<string>1.6+</string>
<key>MainClass</key>
<string>oracle.ide.boot.Launcher</string>
<key>VMOptions</key>
<string>-Xmx512M -Xms256M -Xverify:none -XX:JavaPriority10_To_OSPriority=10 -XX:JavaPriority9_To_OSPriority=9 -XX:MaxPermSize=256M -Xbootclasspath/p:../lib/lwawt.jar -Dsun.awt.keepWorkingSetOnMinimize=true -Doracle.macosx.disableWebBrowser=true -Xdock:name=JDeveloper -Xdock:icon=JDeveloperIcons.icns -Xbootclasspath/a:../../rdbms/jlib/ojdi.jar -Dide.conf=../bin/jdev.conf -Dide.startingcwd=.</string>
<key>WorkingDirectory</key>
<string>$APP_PACKAGE/../jdev/bin</string>
<key>Properties</key>
<dict>
<key>apple.awt.textantialiasing</key>
<string>true</string>
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
<key>apple.awt.antialiasing</key>
<string>true</string>
</dict>
</dict>
</dict>
</plist>
Frank Nimphius

Posts: 20,197
Registered: 01/10/01
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 9, 2008 8:22 PM   in response to: lfengl in response to: lfengl
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

Oracle should provide a JDeveloper.app like 10g did. I just download the zip file and extracted i

Seems not to be possible if we want to ship a ready to use WLS integration. Its not that JDeveloper needs the installer, its the WLS server. The JDeveloper installer just wraps the WLS installer

Frank
Duncan Mills

Posts: 3,224
Registered: 01/10/01
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 9, 2008 8:35 PM   in response to: Frank Nimphius in response to: Frank Nimphius
 
Click to report abuse...   Click to reply to this thread Reply
Frank you're getting confused between a .app and a .dmg on the Mac. dmg is the installer format and we're talking about using an actual application launcher (.app) here.
Saying that, both a DMG installer and app are scheduled for the future and that will make things simpler.
Sebastien Pouil...

Posts: 169
Registered: 07/25/06
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 9, 2008 8:40 PM   in response to: Duncan Mills in response to: Duncan Mills
 
Click to report abuse...   Click to reply to this thread Reply
That's some really great news for all the mac users out there who love JDeveloper !
Thanks Duncan for the precision.
I hope it won't be too long though until the dmg installer is out...

Ciao,
Seb.
kenton.ho

Posts: 77
Registered: 06/10/99
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 17, 2008 5:47 AM   in response to: lfengl in response to: lfengl
 
Click to report abuse...   Click to reply to this thread Reply
Thank you lfengl for this information. It was very helpful!!!

I thought I'd just share a few minor modifications that I did for my installation:

1) Prepare The Application Launcher:

Create the /Applications/JDeveloper.app like in the instructions from lfengl before installing JDeveloper 11g.

If you happen to be like me and need to uninstall an existing installation, see the installation instructions on how to uninstall. For the Mac side, you are looking for uninstall.sh, not just uninstall as per the instructions. You may also want to $ rm -rf ~/.jdeveloper. Just a warning, you'll loose all of your JDeveloper settings. This is important to know because when you move your jdev installation home, there are things that are hard coded for the previous installation in the ~/.jdeveloper/system11.1.1.0.31.51.56 directory... If you do this, you'll be starting from scratch.

For lfengl's step 4, I did a link instead of a copy.

$ cd /Applications/JDeveloper.app/Contents/MacOS
$ ln -s /System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub JDeveloper

And here's two setting changes in the Info.plist file:

<key>CFBundleIconFile</key>
<string>JDeveloperIcons.icns</string>

For this icon file, you can find it in the similar location for the JDeveloper 10g product (See step 5 in lfengl's post) (JDeveloper10g.app/Contents/Resources/JDeveloperIcons.icns)

One more for the working directory:

<key>WorkingDirectory</key>
<string>$APP_PACKAGE/Contents/Resources/jdev/jdeveloper/jdev/bin</string>

2) Install JDeveloper 11g

Use /Applications/JDeveloper.app/Contents/Resources/jdev as the Oracle home.

(Hint, see the WorkingDirectory setting).

By doing this, you've pretty much re-created the JDeveloper 10g application installation.

Note: After you install, just make sure you don't rename JDeveloper.app, and also make sure there is no space in any of your directory names. I.e. don't use something like "JDeveloper 11g.app". The installation instructions warn you quite explicitly about using spaces in directory names.

3) Troubleshoot Icon

For whatever reason, if your icon is not being shown for your new JDeveloper.app and instead you get the generic java icon, then you can try the following:

Go to the finder right click JDeveloper, and choose Get Info.
Click on the icon image in the top left. (Believe it or not, it is clickable. A small shadow surrounds the image when selected. Do not click the preview area).
Press delete, and the icon should refresh to a nice cup of java.

If that doesn't work, double-click the icon file to bring it up in the previewer, click the image, Command-C to copy, click on the Get Info icon as per above and Command-V to paste.

For reference, here's my Info.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleName</key>
<string>JDeveloper</string>
<key>CFBundleShortVersionString</key>
<string>11g</string>
<key>CFBundleGetInfoString</key>
<string>JDeveloper 11g</string>
<key>CFBundleExecutable</key>
<string>JDeveloper</string>
<key>CFBundleIconFile</key>
<string>JDeveloperIcons.icns</string>
<key>CFBundleIdentifier</key>
<string>oracle.ide.boot.Launcher</string>
<key>CFBundleSignature</key>
<string>JDEV</string>
<key>CFBundleVersion</key>
<string>11.1.1.0</string>
<key>Java</key>
<dict>
<key>ClassPath</key>
<string>../../ide/lib/ide-boot.jar</string>
<key>JVMVersion</key>
<string>1.6+</string>
<key>MainClass</key>
<string>oracle.ide.boot.Launcher</string>
<key>VMOptions</key>
<string>-Xmx512M -Xms256M -Xverify:none -XX:JavaPriority10_To_OSPriority=10 -XX:JavaPriority9_To_OSPriority=9 -XX:MaxPermSize=256M -Xbootclasspath/p:../lib/lwawt.jar -Dsun.awt.keepWorkingSetOnMinimize=true -Doracle.macosx.disableWebBrowser=true -Xdock:name=JDeveloper -Xdock:icon=JDeveloperIcons.icns -Xbootclasspath/a:../../rdbms/jlib/ojdi.jar -Dide.conf=../bin/jdev.conf -Dide.startingcwd=.</string>
<key>WorkingDirectory</key>
<string>$APP_PACKAGE/Contents/Resources/jdev/jdeveloper/jdev/bin</string>
<key>Properties</key>
<dict>
<key>apple.awt.textantialiasing</key>
<string>true</string>
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
<key>apple.awt.antialiasing</key>
<string>true</string>
</dict>
</dict>
</dict>
</plist>

Thanks once again to lfengl!

Kenton

Andrew Jones

Posts: 37
Registered: 02/22/08
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Oct 17, 2008 6:44 AM   in response to: Duncan Mills in response to: Duncan Mills
 
Click to report abuse...   Click to reply to this thread Reply
Duncan,

Do you have a "ballpark" release date for the Mac-bundled release of JDeveloper?
Sebastien Pouil...

Posts: 169
Registered: 07/25/06
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Jan 9, 2009 4:50 PM   in response to: Andrew Jones in response to: Andrew Jones
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

Any update on this ?

Seb.
user11338716

Posts: 1
Registered: 07/02/09
Re: JDeveloper 11g Installation on Mac OSX 10.5.5
Posted: Jul 2, 2009 2:32 AM   in response to: Sebastien Pouil... in response to: Sebastien Pouil...
 
Click to report abuse...   Click to reply to this thread Reply
HI,
I am having problems with this too. "cannot find Java Home" no matter what i try!!!

Followed the instructions, but the same message appears again and again.... Here is what I did:

-install latest osx, latest java(1.6.0.13 i think)
-enable root user and in and follow instructions
-run the .jar file and ..... "CANNOT FIND JAVA HOME" or whatever it said there...
heeeeeelllllpppppp

thanks!
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums