zoukankan      html  css  js  c++  java
  • 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 

  • 相关阅读:
    perl 模拟curl 发送json数据
    perl put 发送数据
    8小时浓度均值即连续8个小时浓度的平均值
    awk 字段匹配
    rsyslog imfile配置
    EasyUI datetimebox 的onchange事件的问题
    5大领先的商业智能解决方案,国产上榜!
    5大领先的商业智能解决方案,国产上榜!
    perl post 带中文名字的文件
    Openstack 实现技术分解 (2) 虚拟机初始化工具 — Cloud-Init & metadata & userdata
  • 原文地址:https://www.cnblogs.com/forget406/p/5472418.html
Copyright © 2011-2022 走看看