Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDev 12c: VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0

Dimitar DimitrovJan 14 2019 — edited Jan 16 2019

I am using JDeveloper 12.2.1.3 with JDK 1.8.0_162 on Windows.

Every time when I (re)build a project, an annoying warning appears in "Build - Issues":

Warning: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0

This warning is caused by execution of weblogic.appc (which happens when the project option "Compiler -> JSP -> Compile JSP Before Deploying to Integrated WebLogic Server" is on):

[15:13:32] Appc compilation begin

Compiling out of process...

D:\Java\jdk180_162\jre\bin\javaw.exe -Xms128m -Xmx512m -XX:MaxPermSize=128m -Xverify:none -client -classpath ...

[15:13:42] Appc compilation end

The warning is issued because Java 8 VM does not have Permanent Generation heap and the command-line option MaxPermSize is obsolete.

I tried to find where this obsolete option is set. However, I cannot find it anywhere in the whole JDev installation directory and JDev's system directory.

I even searched thoroughly with grep, but with no success either. It seems that this annoying option is hardcoded within JDev JARs.

Does anybody know where it is and how to fix/remove it?

Thanks.

Message was edited by: Dimitar Dimitrov Added additional info about the root cause - execution of weblogic.appc when project option "Compiler -> JSP -> Compile JSP Before Deploying to Integrated WebLogic Server" is on.

Comments
Post Details
Added on Jan 14 2019
13 comments
4,433 views