带JRE的便携式Eclipse [英] Portable Eclipse with JRE
问题描述
由于JRE< = 1.6不支持字符串的switch语句,我无法从我的工作计算机运行大多数程序。由于管理员限制我无法安装或更新,是否可以在USB上创建一个包含JRE(1.7)的可移植Eclipse?
I'm not able to run a majority of programs from my work computer due to JRE <= 1.6 does not support switch statements for Strings. As I'm not able to install or update due to admin restrictions, would it be possible to create a portable Eclipse on a USB that incorporates the JRE (1.7) as well?
推荐答案
Eclipse部分很简单。只需在USB上解压缩Eclipse。
The Eclipse part is easy. Just unzip Eclipse on your USB.
您必须在USB上安装Java。然后,进入Eclipse Window - > Preferences; Java - >已安装的JRE并确保列出了您的Java JRE或JDK,并且是默认的。
You'll have to install Java to your USB. Afterwards, go into Eclipse Window -> Preferences; Java -> Installed JREs and make sure your Java JRE or JDK is listed and the default.
在USB上创建工作区,您应该准备好了。
Create your workspace on the USB, and you should be ready to go.
这篇关于带JRE的便携式Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!