BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Solution for running JBuilder 2006 with Java 6 JDK

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
Stefan Schmaltz
Guest





PostPosted: Fri Apr 27, 2007 8:13 am    Post subject: Solution for running JBuilder 2006 with Java 6 JDK Reply with quote



Hi there,

I finally found out how to run JB2006 with Java 6 SDK - I mean running,
not developping software for Java 6. This will speed up the IDE and
look&feel is much better (with Windows Look&Feel). Also it runs under
Windows Vista perfectly.

The main problem is, that Sun changed in Java 6 the SwingUtilities2
package to sun.swing. Before it was in com.sun.java.swing. JBuilder 2006
needs this class, but can't start because this class could not be found.

The trick: I wrote my own SwingUtilities2 Class as an adapter for
JBuilder (and many other Java 5 Applications which requires this class).

I used JBuilder Version 12.0.217.112 (Service Pack 4). This Version was
located on the JBuilder 2007 CD, but I think it will run also with older
JB2006 versions.

steps:
1. make a backup auf your JBuilder2006 folder
2. Download and install latest JDK 6
3. delete jdk1.5 folder in your JBuilder2006 folder
4. copy your JDK 6 (c:\programm files\java\jdk1.6xxxxx) to jdk1.6 folder
in your JBuilder2006 folder
5. edit your bin/jdk.config, change javahome to "javahome ../jdk1.6/ and
addpath to "addpath ../jdk1.6/lib/tools.jar"
6. edit your bin/jbuilder.config,
- change vmmemmin to "vmmemmin 256m"
- change vmmemmax to "vmmemmax 512m"
- add vmparam -XX:MaxPermSize=512m"
- comment out (#) these "addbootpath" lines with "Fixes" or "Fix" in
this jar-names
7. Delete this files from lib-folder:
DesignerSwingFixes.jar, TabbedPaneFix.jar, SequencedEventFix.jar,
PopupFixes.jar, AntiAliasSupport.jar
8. copy SU2.jar to the JBuilder patch Folder
you can get this file from my server, http://www.kometmetall.de/jb2006

Now you are ready to start JBuilder 2006.

when starting with "-verbose" you get many exceptions - this is because
JBuilder trys to load Enterprise-Modules, but with the
Deleveloper-Version it can't be activated. Don't know why this happens -
but it doesn't make any problems.
Also OptimizeIt / Profiler does not run - this is because sun removed
the necessary Interface JVMPI. You get this error too, when trying to
run your Java 6 Application with the "original" JBuilder 2006 Java 5
Version.

Ok guys, I hope I didn't forgot anything.
And I'm sorry for my bad english - I'm german...

Questions?

Stefan Schmaltz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.