eclipse启动参数

2023-10-28

eclipse 启动参数

 

-arch [processor architecture]

描述:指定所使用的处理器的类别

举例:eclipse -arch x86或eclipse -arch sparc

 

-application

描述:指定要运行的应用,id为扩展org.eclipse.core.applications扩展点的插件id加扩展id

举例:例如有个插件id为edu.sdu.app,扩展id为myapp,则eclipse -application edu.sdu.app.myapp,就会执行你的扩展应用

 

-clean

描述:清空插件缓存内容

举例:eclipse -clean,有时插件显示不出来是因为Eclipse将插件进行了缓存以加速启动过程,若指定此参数则会清空缓存,从头加载

 

-configuration [cofigfile location]

描述:指定配置文件的位置,在启动时使用此目录下的配置文件config.ini来启动

举例:eclipse -configuration d:/eclipse/configuration

 

-data [workspace location]

描述:指定启动时的Workspace位置

举例:例如Workspace位置设在D:/myworkspace,则eclipse -data D:/myworkspace

 

-debug [option file]

描述:以Debug状态启动Eclipse,所有的Debug开关在.options文件中指定

举例:eclipse -debug d:/eclipse/.options

 

-dev [classpath entry]

描述:以开发状态启动Eclipse,这会添加所有指定的路径作为每个插件的Classpath

举例:例如eclipse -dev bin,会将产生在bin目录下的所有类加载到类路径中,这在开发插件时非常有用

 

-nosplash

描述:指定启动时不显示闪屏

举例:eclipse -nosplash

 

-vm [jre path]

描述:指定启动时所使用的Java虚拟机

举例:例如要使用自己的Java虚拟机,则eclipse -vmD:/j2sdk1.4.2_04/jre/bin/java.exe,这样还有一个好处,就是可以开启一个Console,能够显示控制台信息,当然若使用eclipse -vm D:/j2sdk1.4.2_04/jre/bin/javaw.exe则不会再显示控制台

 

-vmargs [Java VM arguments]

描述:指定启动时要使用的Java虚拟机参数

举例:例如要指定使用的内存容量,则eclipse -vmargs "-Xms256m -Xmx1024m"

注:此参数一定要放在所有参数变量的最后面

 

-XX:+UseParallelGC

让GC可以更快的执行。(只是JDK 5里对GC新增加的参数)

 

-application <id> (Runtime)

equivalent to setting eclipse.application to <id>

-arch <architecture> (OSGi)

equivalent to setting osgi.arch to <architecture>

-clean (OSGi)

equivalent to setting osgi.clean to "true"

-configuration <location> (Main)

equivalent to setting osgi.configuration.area to <location>

-console [port] (OSGi)

equivalent to setting osgi.console to [port].

-consoleLog (Runtime)

equivalent to setting eclipse.consoleLog to "true"

-data <location> (OSGi)

equivalent to setting osgi.instance.area to <location>

-debug [options file] (OSGi)

equivalent to setting osgi.debug to [options file] or the empty string to simply enable debug (i.e., if the options file location is not specified)

-dev [entries] (OSGi)

equivalent to setting osgi.dev to [entries] or the empty string to simply enable dev mode (i.e., if entries are not specified)

-eclipse.keyring <file path> (Equinox)

Set to override location of the default secure storage

-eclipse.password <file path> (Equinox)

If specified, the secure storage treats contents of the file as a default password. When not set, password providers are used to obtain a password.

-feature <feature id> (Runtime)

equivalent to setting eclipse.product to <feature id>

-framework <location> (Main)

equivalent to setting osgi.framework to <location>

-initialize (Main)

initializes the configuration being run. All runtime related data structures and caches are refreshed. Any user/plug-in defined configuration data is not purged. No application is run, any product specifications are ignored and no UI is presented (e.g., the splash screen is not drawn)

-install <location> (Main)

equivalent to setting osgi.install.area to <location>

--launcher.defaultAction <option> (Executable)

specifies the default action to take when the launcher is started without any "-" arguments on the command line. Currently the only supported value is "openFile". The "openFile" option tells the launcher that if it is called with a command line that only contains arguments that do not start with "-", then those arguments should be treated as if they followed "--launcher.openFile".

eclipse myFile.txt

This is the kind of command line the launcher will receive on windows when you double click a file that is associated with eclipse, or you select and choose "Open With" or "Send To" Eclipse.

--launcher.openFile <space separated list of files> (Executable)

a space separated list of files to pass to the application. This option is typically used to pass a list of files to be opened by an Eclipse application. This option requires SWT in order to fire the necessary SWT_OPENDOC event for the files that are specified. Relative paths will be resolved first against the current working directory, and second against the eclipse program directory.

--launcher.library <location> (Executable)

the location of the eclipse executable's companion shared library. If not specified the executable looks in the plugins directory for the appropriate org.eclipse.equinox.launcher.[platform] fragment with the highest version and uses the shared library named eclipse_* inside.

--launcher.ini <location> (Executable)

the location of the product .ini file to use. If not specified the executable will look for a file beside the launcher with the same name and the extension .ini. (ie eclipse.exe looks for eclipse.ini, product.exe looks for product.ini)

--launcher.suppressErrors (Executable)

If specified the executable will not display any error or message dialogs. This is useful if the executable is being used in an unattended situation.

--launcher.secondThread (Executable) MACOSX ONLY

If specified the executable will create the Java VM on a secondary thread. This should used if a swing application is being run. SWT will NOT work if this option is specified.

--launcher.timeout <value> (Executable)

a timeout value for how long the launcher should spend trying to communicate with an already running eclipse before the launcher gives up and launches a new eclipse instance. Default is 60 (seconds).

--launcher.XXMaxPermSize <value> (Executable)

If specified, and the executable detects that the VM being used is a Sun VM, then the launcher will automatically add the -XX:MaxPermSize=<value> vm argument. The executable is not capable of detecting Sun VMs on all platforms.

--launcher.appendVmargs (Executable)

If specified, any VM arguments on the commandline will be appended to any VM arguments specified in the launcher .ini file. Using this option is recommended in every launcher .ini file that specifies VM arguments, because the default behavior of overriding VM arguments can have unexpected side-effects.

--launcher.overrideVmargs (Executable)

If specified on the commandline, overrides the effect of --launcher.appendVmargs in a launcher .ini file such that none of the VM arguments in the .ini file are considered as soon as a -vmargs option is detected on the commandline.

-name <string>

The name to be displayed in the task bar item for the splash screen when the application starts up (not applicable on Windows). Also used as the title of error dialogs opened by the launcher. When not set, the name is the name of the executable.

-nl <locale> (OSGi)

equivalent to setting osgi.nl to <locale>

-noExit (OSGi)

equivalent to setting osgi.noShutdown to "true"

-noLazyRegistryCacheLoading (Runtime)

equivalent to setting eclipse.noLazyRegistryCacheLoading to "true"

-noRegistryCache (Runtime)

equivalent to setting eclipse.noRegistryCache to "true"

-noSplash (Executable, Main)

controls whether or not the splash screen is shown

-os <operating system> (OSGi)

equivalent to setting osgi.os to <operating system>

-pluginCustomization <location> (Runtime)

equivalent to setting eclipse.pluginCustomization to <location>

-product <id> (OSGi)

equivalent to setting eclipse.product to <id>

-registryMultiLanguage (Runtime)

equivalent to setting eclipse.registry.MultiLanguage to "true"

-showSplash <bitmap> (Executable, Main)

specifies the bitmap to use in the splash screen. If specified, the launcher may be able to show the splash screen before starting the Java VM. If not specified, Main will find the bitmap using the osgi.splashLocation and osgi.splashPath properties.

-startup <location> (Executable)

The location of jar used to startup eclipse. The jar referred to should have the Main-Class attribute set to org.eclipse.equinox.launcher.Main. If this parameter is not set, the executable will look in the plugins directory for the org.eclipse.equinox.launcher bundle with the highest version.

-user <location> (OSGi)

equivalent to setting osgi.user.area to <location>

-vm <path to java vm> (Executable, Main)

when passed to the Eclipse executable, this option is used to locate the Java VM to use to run Eclipse. It should be the full file system path to an appropriate: Java jre/bin directory, Java Executable, Java shared library (jvm.dll or libjvm.so), or a Java VM Execution Environment description file. If not specified, the Eclipse executable uses a search algorithm to locate a suitable VM. In any event, the executable then passes the path to the actual VM used to Java Main using the -vm argument. Java Main then stores this value in eclipse.vm.

-vmargs [vmargs*] (Executable, Main)

when passed to the Eclipse, this option is used to customize the operation of the Java VM to use to run Eclipse. If specified, this option must come at the end of the command line. Even if not specified on the executable command line, the executable will automatically add the relevant arguments (including the class being launched) to the command line passed into Java using the -vmargs argument. Java Main then stores this value in eclipse.vmargs.

-ws <window system> (OSGi)

equivalent to setting osgi.ws to <window system>

 

 

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

eclipse启动参数 的相关文章

  • Eclipse - 更改当前标签的开始和结束标签的背景颜色

    我刚刚将 Eclipse 首选项更改为较暗的主题 我唯一无法想象的是 当你在html中选择一个标签时 开始和结束标签的背景会改变 前景色也是如此 这与在 php 中选择 var 的行为相同 同一文档中相似文本的背景和前景色也会更改 我可以在
  • 如何在 Eclipse 中使用 birt 聊天插件创建折线图

    我正在使用 eclipse Brit 插件生成折线图 基本上我想创建一个报告来展示给定时间范围内的移动电池使用情况 以下是示例数据 其中观察时间根据用户选择的范围是动态的 我想绘制每个设备的折线图 但找不到任何配置来在同一报告页面上为每个设
  • Eclipse 告诉我在构建路径中检测到一个循环,但事实并非如此!

    Eclipse 告诉我 a cycle was detected in the build path of project name 尽管项目的结构 由团队中的其他人创建 没有循环 相同的项目部署在其他机器上 相同 并且不会给出错误 我需要
  • Eclipse 和 R 中的 StatET

    我已经成功地将 StatET 安装到 eclipse 中 并且我有一个名为 Test 的 Java 项目 其中包含一些代码 我希望能够在该项目文件夹中保留 R 文件并将其作为独立的 R 脚本运行 与 Java 程序分开 我怎样才能做到这一点
  • 在 Eclipse 工作区级别为所有启动器设置环境变量?

    我可以设置工作区范围的设置来将环境变量添加到工作区中创建的所有未来启动器吗 Use Case 我们的单元测试需要一个环境变量来引导测试到某些资源 该变量因我们产品的每个版本而异 Options 使用环境变量修改每个 junit 启动器 创建
  • 如何将参数传递到 eclipse-plugin 中的代码模板

    我想创建一个定义新代码模板的插件 喜欢这篇博文 http thomaswabner wordpress com 2009 08 21 use your own variable in eclipse code templates 如何将参数
  • 导入android.support.v7.app无法解析

    更新到 Eclipse Kepler 后 我无法添加支持库 appcompat 我已经关注了这个指示 http developer android com tools support library setup html libs with
  • Java:特定枚举和通用 Enum 参数

    我想将任何枚举值传递给实用程序类中的方法并获取相同枚举类型的另一个枚举值 像这样的事情 public class XMLUtils public static Enum defaultValue if element hasAttribut
  • 如何以编程方式自定义 Eclipse 透视图?

    我想要做出与右键单击透视图并选择自定义以获得此窗口时相同的行为 我想仅以编程方式为我的视角自定义菜单和工具栏 实际上 我只想删除我的视角中的大多数菜单和工具栏 并在我更改为任何其他视角时让它们再次显示 你能帮我解决这个问题吗 This ht
  • JSF 和库的不明确性

    在花了一些时间使用 servlet 和 JSP 之后 现在我正在尝试了解一些有关 JSF 的知识 我已经学习了基础知识 做了几个简单的例子 对 工作流程 有了基本的了解 但我仍然无法理解 javax faces webapp FacesSe
  • 为什么在 Citrix 上首次调用 java.io.File.createTempFile(String,String,File) 需要 5 秒?

    在调试 Citrix 服务器上 Eclipse RCP 应用程序的缓慢启动时 我发现 java io createTempFile String String File 花费了 5 秒 它仅在第一次执行时执行此操作 并且仅针对某些用户帐户执
  • Eclipse 和 Zend 调试器总是在第一行中断,尽管未选中该选项

    我取消选中了在第一行中断PHP 调试配置中的选项 但无论如何它仍然在第一行中断 我怎样才能防止这种情况发生 我正在使用 MacOSX Eclipse PDT 3 0 2 和 Zend 调试器 经过大量谷歌搜索后 我找到了如何解决这个问题 可
  • Android - 如何创建可点击的列表视图?

    我想让列表视图中的所有列表项打开到一个新页面 因此每个列表视图项目都打开到一个我可以使用的新黑色页面 我根本不知道如何实现这个 我已经连续搜索了几个小时 但找不到解决方案的答案 如果有人能够展示和 或解释如何执行此操作而不是提供链接 我们将
  • 排除jar中的文件进入apk

    我最近添加了一些新的罐子到我的android项目 一些 jar 包含 version properties 其中之一甚至包含 README TXT 我如何告诉 eclipse adt ant 排除文件进入 apk 显然我可以解压 apk 删
  • 使用 avr-gcc 编译器/链接器对链接 avrfix 库中函数的未定义引用

    我正在尝试使用avrfix 库 http avrfix sourceforge net 在一个项目中 使用Eclipse v4 2 2 作为IDE avr gcc作为编译器 头文件 avrfix h 和库文件 libavrfix a 都包含
  • WindowBuilder 不兼容的 Java 版本

    我在 Eclipse 上安装了 WindowBuilder 来为程序创建图形用户界面 当我转到 设计 选项卡时 出现以下错误 Eclipse运行在1 8下 但是这个Java项目有10个Java 合规级别 因此 WindowBuilder 将
  • 慢 Eclipse Spring STS 插件

    我是 Spring 新手 安装了 Eclipse STS 插件 使用服务似乎非常慢 CPU 使用率激增 笔记本电脑只会变热 实际上风扇就像喷气发动机一样运行 直接响应服务的启动 停止 虽然下面的内容确实为我解决了 Spring STS 的所
  • Maven安装错误找不到javax.el.E​​LContext和找不到javax.el.E​​LResolver

    我正在使用 Maven 3 和 JDK 1 7 当我尝试做的时候mvn install 我收到以下错误 ERROR domain view EmployeeNameConverter java 29 76 cannot access jav
  • Eclipse 中的“环绕”模板:foreach

    我是 Eclipse 新手 主要用于 Java 我之前使用过 IntelliJ Idea 其中可以选择一个扩展 Iteratable 集合 列表等 的变量 并让它生成正确的 foreach 循环 我知道 Eclipse 对 foreach
  • Eclipse 中 Spring MVC 模型对象的 (jsp /jstl) 视图中的代码辅助

    在 Spring MVC 中 当将对象放置在视图模型中时 如下所示 public String getUser Model model fetch user model addAttribute user user return viewN

随机推荐

  • openGL之API学习(六十六)EmitVertex EndPrimitive

    EmitVertex表示输出一个顶点 而EndPrimitive表示结束一个图元的输出 这是一对命令 只有几何着色器才有的命令 几何着色器的图元通过两个特殊的内置函数生成的 即EmitVertex 和EndPrimitive 每个着色器请求
  • docker 安装ES和分词插件详细版教程

    一 安装ElasticSearch 1 下载镜像 docker pull docker elastic co elasticsearch elasticsearch 6 3 2 用docker images查看已下载的镜像 可选 对镜像命名
  • 机器学习算法的随机数据生成

    作者 刘建平Pinard 链接 https www cnblogs com pinard p 6047802 html 编辑 石头 在学习机器学习算法的过程中 我们经常需要数据来验证算法 调试参数 但是找到一组十分合适某种特定算法类型的数据
  • Intellij IDEA自定义Live Templates提高编码效率

    Intellij IDEA Live Templates 详情见 https www cnblogs com expiator p 17380434 html 自定义Live Templates的示例 以下的示例 都是使用首字母 作为关键词
  • 让工作效率提升10倍的浏览器,真是太棒了

    浏览器不仅仅是用来搜索查询资料的工具 它还可以让我们看新闻资源 最重要的是可以帮助我们完成各种各样的工作 提升工作效率 我最近发现了一款能够让工作效率提升10倍的浏览器 它的工具非常丰富 而且支持在线工具免费使用 我建议大家一定要收藏起来好
  • Linux查看mysql是否启动+mysql启动(全)

    整理一下Linux下启动mysql服务的命令 目录 1 使用命令 service mysqld status 2 使用命令 ps aux grep mysqld 3 使用命令 pidof mysqld 4 使用命令 ps ef grep m
  • Arcgis Pro中加载osgb(倾斜)数据

    1 新建工程 不能含中文路径 设置坐标系 2 转换格式 3 新建场景加载数据 4 直接拖动 slpk数据到场景中即可
  • WINDOWS专集大集合,绝对是精品中的精品

    WINDOWS专集大集合 绝对是精品中的精品 每IP最多5个线程 请勿尝试多线程下载 以免被封IP 史努比系统维修启动光盘 3 8 最终版 软件类别 国产软件 操作系统 软件语言 简体中文 软件大小 602M 更新内容 1 KVDOS 20
  • [移动通讯]【Carrier Aggregation-4】【LTE-5】

    前言 前面讲过通过能力上报 以及RRC Connection Reconfiguration 添加SCell 添加完成后 UE 处于Inactive 状态 本章主要讨论一下 Inactive 状态Active 状态的切换 3GPP TS 3
  • python 根据C盘卷号进行 加密解密,可以用做软件激活码

    import base64 import win32api from pyDes import from pyDes import des PAD PKCS5 ECB from binascii import a2b hex 如果需要用二进
  • JavaFX程序关闭的正确方式

    当用户试图退出程序时 程序能够有机会进行确认和清理的工作 因此 正确的程序退出过程应该包含一些步骤 增加Button或菜单 让用户发布希望退出程序的信号 可选 显示窗口 确认用户真的希望退出程序 执行必要的清理工作 如 关闭文件和其他资源
  • Netty 是什么?和 Tomcat 有什么区别?特点是什么?

    Netty 是一个基于 NIO 的异步网络通信框架 性能高 封装了原生 NIO 编码的复杂度 开发者可以直接使用 Netty 来开发高效率的各种网络服务器 并且编码简单 Tomcat 是一个 Web 服务器 是一个 Servlet 容器 基
  • 《剑指offer》练习及解析(C++代码)13-16

    一 剑指 Offer 13 机器人的运动范围 解法 1 回溯法 一种搜索方法 每次选择一个方向向前搜索 直到到达最优目标或确定无法达到目标时 后退重新向未选择的方向前进 用二维数组记录是否走过此位置 且每次只需向下或向右行进即可 代码 My
  • To install them, you can run: npm install --save babel-runtime/core-js

    执行npm run dev命令的时候提示下面这个报错 报错信息 To install them you can run npm install save babel runtime core js 解决命令 npm install save
  • 14C++11多线程编程之Windows临界区和各种互斥量(recursive_mutex,std::timed_mutex,recursive_timed_mutex)

    1 Windows临界区 1 Windows临界区与C 11的mutex的区别 mutex不能多次lock 而Windows的临界区可以多次进入 即EnterCriticalSection 但是进入多少次临界区就需要多次LeaveCriti
  • PlatformIO离线安装终极方法

    PlatformIO IDE core 离线安装终极方法 众所周知 PlatformIO的资源服务器在国外 其资源包和更新包经常出现下载不了而导致PlatformIO Home界面无法启动的情况 这几年 我上的智能硬件课程中使用Platfo
  • 消息队列(MQ)简介

    概念 从字面理解 本质就是队列 FIFO先入先出 只不过队列中存放的是Message而已 是一种跨进程的通信机制 用于上下游传递消息 在互联网架构中 MQ是常见的上下游 逻辑解耦 物理解耦 的消息通信服务 在使用MQ之后 消息发送上只需要依
  • packet capture抓取抖音

    这是一款安卓端的抓包工具 我们打算使用它来抓取抖音 首先得安装好着两款软件 1 配置app 至此 软件可以进行使用 2 打开抖音APP 玩一会抖音 然后打开packet capture 会显示出这里有13条数据 点击有数据的 得到如下 这块
  • Databend 借助对象存储帮你实现降本增效

    本篇文章围绕着 什么是对象存储 当 Databend 遇到对象存储 2022 年 Databend 利用对象存储降本的案例 国内优秀的对象存储产品 基于对象存储创业的产品 什么是对象存储 对象存储是一种可以非结构化存储和管理数据的技术 可以
  • eclipse启动参数

    eclipse 启动参数 arch processor architecture 描述 指定所使用的处理器的类别 举例 eclipse arch x86或eclipse arch sparc application 描述 指定要运行的应用