windows系統下Eclipse啟動界面更改


  前段日子看到有人修改了linux系統下Eclipse的啟動界面,因此自己試着修改了一下windows平台的啟動界面。本文總結一下修改Eclipse 4.5(代號Mars)啟動界面的方法。

  方法一:修改splash.bmp啟動圖

  Eclipse啟動畫面實際就是eclipse\plugins\org.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 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM