Reading Notes for Qian Xin

Culture, Economics, Political... after reading something on internet, i will try to write down some notes. this is the place for me to record these notes.

Thursday, March 06, 2008

install together on linux

Hi, I received the same error. I think it's because JB 2k5 is using JRE 1.4.2_04 which is pretty darn old.

After some playing around I was able to get the application to install by performing the following:

1. cd into the /tmp/install.dir.xxxxx/InstallerData directory where xxxxx is some number, if you've tried to install multiple times and received this error, you'll see multiple install.dir.xxxxx directories. Pick one, it doesn't matter which one.

2. Assuming you have the java executable on your path, type the following to launch the installer:

sudo java -classpath ./installer.zip com/zerog/ia/installer/Main

Using 'sudo,' of course, implies you are installing as root.

You can now complete the installation process as normal.

3. JBuilder 2005 won't run under a 1.5 JVM - missing classes, however you can do the following to make JBuilder run:

3i. cd into your jbuilder installation directory, say, /usr/local/borland/jbuilder2005.

3ii. then cd into the jdk1.4 directory. on my system, since I have jdk 1.5 installed, this directory is empty.

3iii. execute the following to recursively copy the 1.4 jdk to borland's installation directory tree:

cp -R /tmp/install.dir.xxxxx/Linux/resource/jre/* .

again, where xxxxx is the number of the temp directory used above.

3iv. now, executing the jbuilder executable in the bin subdirectory of your installation directory will launch JBuilder and you can start coding away.

Note that if you want to do Java development under the 1.5 JDK, you'll need to add it under Tools >> Configure >> JDKs.

Happy Coding,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home