Thứ Bảy, 11 tháng 4, 2009

Install Jdev 10.1.3.4 on Ubuntu 8.10 64 bit

1. Make some change to ~/jdevinstalled_folder/jdev/bin/jdev.conf

#
# Directive SetJavaHome is not required by default, except for the base
# install, since the launcher will determine the JAVA_HOME. On Windows
# it looks in ..\..\jdk, on UNIX it looks in the PATH by default.
#
#Must be jdk 64 bit
SetJavaHome /home/haibang/jdk1.6.0_12

#
# The Windows launcher will attempt to use client (hotspot) by default,
# unless a VM is specified below with the following directive. On UNIX
# we use whatever is listed first in the $(JAVA_HOME)/jre/lib/jvm.cfg file.
#
#Comment this out
#SetJavaVM hotspot

After that run: ./jdev

If u got blank startpage: check the jdk version , this error happened with jdk1.5
. To fix this, change jdk to 1.6 version or

This is a bug in Sun's JDK that has been fixed in 1.6u10. If like me you are too lazy to update your JDK or can't (JDeveloper 10.1.3.4 is only certified against Java5) then the fix is to simply open the $JDEV_HOME/jdev/bin/jdev script and add the following as the first line:
export AWT_TOOLKIT=MToolkit
Save the file, run JDeveloper again and the UI goodies should be all

Không có nhận xét nào: