Common tools - eclipse

Brief introduction

  • Eclipse is an open source -based Java extensible development platform. On its own, it is only a framework and a set of services for building development environments by plug-in component. Fortunately, Eclipse comes with a standard set of plug-ins, including Java development tools (Java Development Kit, the JDK ).

Installation and Configuration

general information

Eclipse.ini configuration file

  • Specify the default jdk:
-vm
D:\app\jdk\jdk1.8.0_131\bin\javaw.exe
  • Specifies the default encoding:
-Dfile.encoding=UTF-8
  • The final configuration file
-startup
plugins/org.eclipse.equinox.launcher_1.5.400.v20190515-0925.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1000.v20190125-2016
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
D:\app\jdk\jdk1.8.0_162\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.8
[email protected]/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx1024m
--add-modules=ALL-SYSTEM
-Dfile.encoding=UTF-8
  • Double-click to start eclipse.exe

Guess you like

Origin www.cnblogs.com/kunlingou/p/11518861.html