Skip to content

Instantly share code, notes, and snippets.

@justingarrick
Last active May 22, 2023 04:48
Show Gist options
  • Save justingarrick/2588828 to your computer and use it in GitHub Desktop.
Save justingarrick/2588828 to your computer and use it in GitHub Desktop.
eclipse.ini settings for Eclipse Indigo/Juno/Kepler & JDK7
-data
C:/workspace
-showlocation
-vm
C:/JDK7/jre/bin/server/jvm.dll
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Duser.name=Justin Garrick
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.7
-Declipse.p2.unsignedPolicy=allow
-Declipse.p2.MD5Check=false
-Xss4m
-XX:PermSize=256m
-XX:MaxPermSize=512m
-XX:CompileThreshold=5
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=70
-XX:+CMSIncrementalPacing
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+UseFastAccessorMethods
-Dcom.sun.management.jmxremote
-XX:ReservedCodeCacheSize=64m
-Xms256m
-Xmx512m
Copy link

ghost commented Feb 28, 2013

Thanks - Very useful - Works perfectly so far

@fredgrott
Copy link

switch the windows path delimiters as its \ not /

@fredgrott
Copy link

also # comments go on separate lines

@Sakupa91
Copy link

Does it works with java8, Because MaxPerm size is being depreciated or something , showing log in terminal??

@sailendrajena
Copy link

Hi,
Can you tell me for what reason you have used these lines.
-Duser.name=FirstName LastName
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.7
-Declipse.p2.unsignedPolicy=allow
-Declipse.p2.MD5Check=false
If I will add this line then is there any affect will happens.

Thanks & Regards
Sailendra Narayan Jena
Email Id: [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment