windows系统下Eclipse启动界面更改

  前段日子看到有人修改了linux系统下Eclipse的启动界面,因此自己试着修改了一下windows平台的启动界面。本文总结一下修改Eclipse 4.5(代号Mars)启动界面的方法。

  方法一:修改splash.bmp启动图

  Eclipse启动画面实际就是eclipsepluginsorg.eclipse.platform_4.5.1.v20150904-0015目录下的splash.bmp图片。将其修改或替换成自定义图片,名字仍然保存成splash.bmp。

  方法二:修改eclipse.ini配置文件

eclipse配置文件eclipse.ini保存位置

 1 原始eclipse.ini配置文件
 2 -startup
 3 plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
 4 --launcher.library
 5 plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
 6 -product
 7 org.eclipse.epp.package.java.product
 8 --launcher.defaultAction
 9 openFile
10 --launcher.XXMaxPermSize
11 256M
12 -showsplash           
13 org.eclipse.platform  
14 --launcher.XXMaxPermSize
15 256m
16 --launcher.defaultAction
17 openFile
18 --launcher.appendVmargs
19 -vmargs
20 -Dosgi.requiredJavaVersion=1.7
21 -Xms256m
22 -Xmx1024m

  将org.eclipse.platform注释掉,改成自定义splash.bmp的绝对路径或相对eclipse.ini文件的相对路径。如相对路径为"./splash.bmp"等。

 1 修改后eclipse.ini配置文件
 2 -startup
 3 plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
 4 --launcher.library
 5 plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
 6 -product
 7 org.eclipse.epp.package.java.product
 8 --launcher.defaultAction
 9 openFile
10 --launcher.XXMaxPermSize
11 256M
12 -showsplash
13 #org.eclipse.platform
14 ./splash.bmp  # 在eclipse.ini同文件下创建splash.bmp
15 --launcher.XXMaxPermSize
16 256m
17 --launcher.defaultAction
18 openFile
19 --launcher.appendVmargs
20 -vmargs
21 -Dosgi.requiredJavaVersion=1.7
22 -Xms256m
23 -Xmx1024m

  通过上述两种方法,我成功将Eclipse Mars启动界面修改。关于eclipse.ini配置文件的详细内容,可以参考eclipse官方说明 eclipse.ini 

原文地址:https://www.cnblogs.com/forget406/p/5472418.html