简体   繁体   English

Eclipse 和 Java 运行时环境可移植

[英]Eclipse and Java Runtime Environment Portable

I want to run eclipse and java portable, for this i did the following steps:我想运行 eclipse 和 java 便携式,为此我做了以下步骤:

  1. Download and install Eclipse Portable下载并安装 Eclipse Portable
  2. Download and install the Portable Java Runtime Environment下载并安装便携式 Java 运行时环境
  3. Open the Eclipse settings file ../EclipsePortable/App/Eclipse/eclipse.ini打开 Eclipse 设置文件 ../EclipsePortable/App/Eclipse/eclipse.ini
  4. Set the -vm as your portable Java installation at the beginning在开始时将 -vm 设置为您的可移植 Java 安装

Eclipse is running now, but when i want to add a new project, there is no Java Project. Eclipse 现在正在运行,但是当我想添加一个新项目时,没有 Java 项目。

Does anyone know how to fix this?有谁知道如何解决这一问题?

Taken from this answer , you need to do below steps取自this answer ,您需要执行以下步骤

  • Go to "Help" -> "Install new software"转到“帮助”->“安装新软件”
  • Select your eclipse version by clicking the small arrow next to "Add"单击“添加”旁边的小箭头,选择您的 Eclipse 版本
  • search for "java" in the search bar在搜索栏中搜索“java”
  • Tick "Eclipse Java Development Tools" and hit finished.勾选“Eclipse Java Development Tools”并点击完成。
  • after installation click on "restart eclipse"安装后点击“重启eclipse”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM