Skip to main content

Posts

Showing posts with the label JDK

Install JDeveloper 11.1.1.9 on OS X with JDK7

The info is taken from this post: https://blogs.oracle.com/OracleWebCenterSuite/entry/install_jdeveloper_11_1_1 Thanks to Justin, it saved quite some efforts. 1 If you do not have Apple Java 1.6, download it  here (Java for OS X 2014-001) . 2 Start the JDeveloper 11.1.1.9.0 installer using Apple Java 1.6. 3 $(/usr/libexec/java_home -v 1.6)/bin/java -jar ~/Downloads/jdevstudio11119install.jar 4 Follow the screens and when you reach the portion of the installer that asks for the JDK, point it to your JDK 1.7 location. In my case, I have used JDK 7u80. 5 /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home 6 Complete the installation.

Caveats on Using WebLogic Server with JDK7

Now JDK 7 has been out for a while (JDK 8 is out too as of writing). There are some caveats using WebLogic Server with JDK 7 you might want to know, not matter it's on 10.3.6 or 12c. 1. Out of memory error on starting Admin Server. This error is caused by the fact that the new JVM requires more PermGen space. Depending on your RAM, you can set it >350m. In my case, I would set the perm size to 512M. -XX:MaxPermSize=512m 2. In some cases, the new compiler generates larger byte code. It is possible that a large method may exceed the 64KB limit per method. In this situation, you may need to refactor the method. This seems to only affect WebLogic 10.3.6 3. Classes may have been removed that are from the internal package sun.*, or that have been marked as deprecated in a previous version of the JVM. If an application uses these removed methods, a ClassNotFound exception will occur. 4. JDBC 4.1 is introduced in JDK7. JDBC 4.1 methods are not currently supported in ...