Oracle Enterprise Pack for Eclipse 11g – WebLogic Interop Tip
By james.bayer on Mar 25, 2009
OEPE 11g is out I had to rush out and try it. I used the full install from OTN. I assume most users of OEPE 11g will also be WebLogic users. Out of the box, Workspaces are not pre-configured with a WTP Server Runtime or WebLogic Shared Libraries because OEPE doesn’t know where WebLogic is installed or which version you want to use if you have multiple installations. There is a simple way to enable this by specifying your WebLogic home in the eclipse.ini file. I added the following line (substitute your path to WLS):
Now your Workspaces (existing and new) should become populated with a WebLogic Server Runtime of the version you specified with WebLogic Shared Libraries. Ah, but there is another gotcha! In order for this to work with WLS 10gR3 Eclipse needs to be started with a JDK6 JVM. In my case, my system’s default JVM was JDK5, so I had to explicitly tell OEPE 11g to start with JDK 6 by specifying the JVM in eclipse.ini. If you use JRockit instead of Sun you may want to make other adjustments such as making the min/max memory the same and not configuring PermSize at all, but those are just extra tweaks. Again, specify your specific path, but here is mine:
Using Windows->Preferences you should be able to see the end result when you launch Eclipse. Be sure to check out the OEPE 11g tutorials for some great examples.