Tuesday, October 30, 2007

Running Jdeveloper on Vista x64

This is my first blog post regarding Jdeveloper, hope you find it useful.

Although Jdeveloper 10.1.3 isn't officialy certified for 64bits (Vista x64) here is a workaround on how to run it natively under Vista x64. This way Windows Vista Aereo is kept and Jdeveloper runs in 64bits mode.

Create a jdev.bat file under JDEV_HOME\jdev\bin with the following content.
java -Dide.product=oracle.jdeveloper -Dide.splash.screen=splash.gif -Xverify:none -Xmx512M -XX:MaxPermSize=160M -XX:JavaPriority10_To_OSPriority=10 -XX:JavaPriority9_To_OSPriority=9 -Dice.browser.forcegc=false -Dice.pilots.html4.tileOptThreshold=0 -Xbootclasspath/p:../lib/lwawt.jar -Dreserved_filenames=con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout$ -DEDITOR_J2SE_VERSION=1.5 -DINSIGHT_OMIT_HIDDEN=true -Doracle.xdkjava.compatibility.version=9.0.4 -Doracle.translated.locales=ja -Dwindows.shell.font.languages=en -Dide.debug.controller.stack=false -Dceditor.java.parse.small=300 -Dceditor.java.parse.large=1500 -Dide.extension.cpmissing.nowarn=true -Dcompiler.vmargs=-mx512m -Doracle.soap.transport.noHTTPClient=true -Djbo.debugoutput=silent -Djbo.showdebugwarningbanner=false -Djava.library.path=C:\Java\jdk\jdk1.5.0_13\bin;..\lib\ext;..\..\lib -Dide.user.dir= -Dide.startingArg0=C:\Oracle\jdevstudio10133\jdev\bin\jdev.exe -Dide.startingArg1=-verbose -Dide.launcherProcessId=4928 -Dide.config_pathname=C:\Oracle\jdevstudio10133\jdev\bin\jdev.conf -Dide.startingcwd=C:\Oracle\jdevstudio10133\jdev\bin -Dide.shell.fileTypeKeyDefined=true -Dide.shell.enableFileTypeAssociation=true -Djava.class.path=..\lib\jdev-loader.jar -Djdev.class.path=..\..\..\classes;..\..\ide\lib\javax-ide.jar;..\..\ide\lib\javatools.jar;..\..\ide\lib\ide.jar;..\..\jlib\jewt4.jar;..\..\jlib\share.jar;..\..\jlib\help4.jar;..\..\jlib\inspect4.jar;..\..\lib\xmlparserv2.jar;..\..\jdbc\lib\orai18n.jar;..\lib\jdev-ep.jar;..\..\jdk\lib\tools.jar;..\..\jdk\lib\dt.jar -Djava.system.class.loader=oracle.ideimpl.IdeClassLoader oracle.ideimpl.Main



Note: Replace C:\Java\jdk\jdk1.5.0_13 with your JDK location and C:\Oracle\jdevstudio10133 with your Jdeveloper location.

2 comments:

Anonymous said...

The Vista Aero thing is not about being 64 bits. Vista x64 supports 32 bits applications natively too. What happens is that Vista disables Aero when you run an app with JDK 1.5 (incidentally, the one bundled with JDeveloper 10.1.3.x).

JDK 1.6 added support for Vista and Aero. So if you run JDeveloper with 1.6 (32 bits) under Vista x64, it will run fine and you can launch it with the standard jdev.exe.

Still, I love to be able to run JDeveloper under the 64 bits JVM from now on :)

Oscar Rovira said...

Thanks, it work for me, i am going to copy this in to my blog (Translation) With the correspondent Credit to your blog.