You are here

Eclipse on a thumbdrive

4 posts / 0 new
Last post
sblandin
Offline
Last seen: 8 years 9 months ago
Joined: 2006-02-16 05:12
Eclipse on a thumbdrive

I know that this topic has been addressed many times, but I am going to tell how I was able to have a working Eclipse on my thumbdrive without a JRE installed on the host computer.

EasyEclipse (http://www.easyeclipse.org/site/home/) is a customized distibution of Eclipse that comes with everything needed for the application to run (JRE included).

It comes in many flavour: for Java developer (with JDK inckluded), for C/C++ developer (no compiler), for dynamic languages (Perl, PHP, Python, a perfect companion for XAMPP). On windows it is packaged as NSIS made installer that apparently creates a directory tree with all necessary component and a start menu shortcut. If you copy the directory tree under the portable apps folder everything seems to work, although the size of the thing is big (306 MB for EasyEclipse for LAMPP).

Hope this was useful

sblandin

peter.cleveland
Offline
Last seen: 16 years 7 months ago
Joined: 2007-08-10 13:50
Portable Eclipse IDE for Java EE Developers

I was able to get Eclipse to run on my ex-U3 thumbdrive. The following steps that I have modified to get it to work on any PC were origianlly posted by Michael Agel (https://portableapps.com/user/8973). Use the following steps to get it to work with the PortableApps suite:

  1. Download Eclipse and extract it to your portable drive (I am using Eclipse IDE for Java EE Developers version 3.3.0)
  2. Install a JDK on your PC (I am using jdk1.6.0_02)
  3. Create a subfolder called "JDK" in your eclipse folder (eg. E:\PortableApps\eclipse\JDK)
  4. Copy the jdk1.6.0_xx folder from C:\Program Files\java into the JDK folder. (eg. E:\PortableApps\eclipse\JDK\jdk1.6.0_xx)
  5. Edit the file "E:\PortableApps\eclipse\eclipse.ini" to
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    128M
    -vm
    .\JDK\jdk1.6.0_xx\bin\
    -vmargs
    -Xms40m
    -Xmx512m
    

    (replace "jdk1.6.0_xx" with the actual folder name eg. .\JDK\jdk1.6.0_02\bin\). This is more elegant than using a batch file due to being independent from drive letters and path variables.

  6. Plug your portable drive in and click on the eclipse shortcut in the PortableApps menu or double click on "E:\PortableApps\eclipse\eclipse.exe"
  7. When asked for a workspace location, enter ".\workspace", which will create a workspace in your eclipse folder (like "E:\PortableApps\eclipse\workspace\")

Congratulations, you should now have a portable version of the eclipse platform.

SAM_WHAN
Offline
Last seen: 15 years 3 weeks ago
Joined: 2009-03-05 13:37
Portable Eclipse AND Java

Hi, I already done the JDK and The Eclipse portable
but i need to make them a .paf.exe file can anyone help???
the whole thing is less than 400 Mb (uncompressed) it becomes 170 if it's compressed with 7-Z but i need to make it a .paf.exe for easier use

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Legal issues

John has already done Eclipse Portable, and some other Java apps, but has not yet released them.

The problem is that we want to distribute Java as "Java Portable", and Sun is demonstrating one of the biggest problems of big businesses... they're not getting back about emails sent to them. John has contacted them at least twice about it. If you have any connections at Sun, please use them to get us to be able to distribute Java Portable Wink

For the moment though, don't bother doing any JDK or Eclipse Portable.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

Log in or register to post comments