This is just a thought, but...
Eclipse could be made portable, with references to a JRE-on-a-stick, could it not? Then we could package a version for download with a launcher, and include the NSIS IDE for Eclipse
What do you think?
~nm35
» http://geekspot.wordpress.com
I've done that already. I actually didn't need to install JRE since it was on my computer, and I think that most computers pretty much have it by now. I just installed straight to the Flash Drive.
I dunno, Jagerkatze, I think nm35 has a good idea. In my circle, it does seem to be rare, but I have encountered a few (weird) computers nith no, or outdated Java. Anyways, unless one is strapped for space, it couldn't hurt, right?
Have jre1.5 and eclipse on my usb key and it works like a breeze...
Can anyone post the steps they took to get it working?
Rob Loach [Website] [Projects]
Correct me if I'm wrong, but can't you just dump the JRE into the eclipse/ folder or something?
Some OOo features use JRE -- did JH figure out how to make that JRE portable, or is it just left out?
~nm35 {blog} {projects} {standalone apps}
No, it is left out (for now).
Cya Ryushi
Copy JRE from your host disk to USB, copy Eclipse on your USB, run Eclipse, go to preference, tell Ecplipse to use the JRE on your USB, close it, done.
Run it from the JRE on your usb (I use a .bat, T: is my usb disk):
path=T:\Tool\JRE\bin\;%path%;
eclipse.exe
Jep, this topic is old, but I recently deal with it, so who cares?
The steps for a portablEclipse aren't that hard:
The default installation path should be something like "C:\Programs\Java", containing a folder named "jdk1.5.0_xx"
P:\someFolders\eclipse\JDKs
P:\someFolders\eclipse\JDKs\jdk1.5.0_xx
)(replace "jdk1.5.0_xx" with the actual folder name)
This is more elegant than using a batch file due to being independent from drive letters and path variables.
I tested this under winXP home with Eclipse 3.1.2 and JDK 1.5.0_08 and it simply... works!
Thank you Agel
You instructions helped me to get it working portably.
I use Eclipse 3.1.2 and j2sdk1.4.2_06 on a USB HDD.
Could not get it to work with Eclipse 3.0 as it did not have an eclipse.ini file.
Regards
Paul
I have Eclipse running on my thumb drive, but when I create a project using the "Create project from existing source" option, it won't work if I change computers where the drive letter is different. Anyone know of a way to fix this?
Thanks,
Chris
The #1 programmer excuse for legitimately slacking off: "My code's compiling." --xkcd
As the Subject says, it is more of a workaround than actually a solution. To really solve this, you would have to add a "use relative paths" option to Eclipse, which I imho really miss.
Create a batch file containing
and save it to your Portable. The
SUBST
command is designed to substitute something like "C:\MyLotsOfFolders\OneOfThem\ThisOne\IMeanThis\" to a new drive letter like "V:\".The
%~d0
in the batch expands to the drive letter of the full path name of the batch.Executing this batch should then create a new Drive Letter V containing all the Data of your Portable. When creating projects, just save them in V:\MyProjectBlah\ instead of P:\MyProjectBlah\ (where P:\ shall be the drive letter Windows 'knew' you were about to choose when plugging in the device ;))
before removing the Portable you should run (maybe in a batch?)
which drops the substitution for drive letter V:\
I haven't tried all that, but I hope that helps you out. Post a feedback!
By the way: This should generally solve the problem of changing drive letters except for the fact that your desired drive letter (V:\ in example) might already be in use. "B:\" should work on most computers.
Well, I'm using Eclipse 3.2 (Yoxos Distro) and Java 1.6.0 and here's how I've done:
1) Had a working eclipse installation in my local hard drive
2) Copied the 'eclipse' directory to my desktop (lets call it %DESKTOP%)
3) Copied 'C:\Programs\Java\JDK1.6.0\jre\' to '%DESKTOP%\eclipse\'
4) Edited the file %DESKTOP\eclise\eclipse.ini and added the line:
-vm .\jre\bin\javaw
5) Renamed the original workspace directory just to have eclipse ask me where my workspace will be...
6) Launched '%DESKTOP%\eclipse.exe'
7) When prompted, I entered '.\workspace' for the workspace directory and checked 'Use this as default and do not ask again'
8) That's it. To test this portable eclipse installation just move it around and verify that it still works... even in computers with no JVM.
PS: The fun comes when you install the subeclipse plugin and can checkout/commit your code on the run. Nice!
How much space does this setup require? I think the download for Eclipse is at least 30MB by itself.
Somewhere there is a village missing an idiot.
Somewhere there is a village missing an idiot.
Eclipse requires more than 100MB by itself, and the JDK requires about 40, IIRC.
Vintage!
Why should one use use the JDK if the JRE will work and is a lot smaller in size? Are there any functions which would be restricted? Please enlighten me.
---
tlucas
I never heard of this app.
Can anyone post the function that this proggy performs?
Thx.
"I don't hate cats...as long as they stay on the freeway, where they belong."
- Brad Stine
[A]n open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle.
Basically it is many things. I use it for a python and Java IDE. Check it out on the web at Eclipse.org.
------------
Jeffrey Wiggs
Loving God and Learning Laughter
---
Jeffrey Wiggs
Loving God and Learning Laughter
i put it on my stick, sure it works, but it's so darn bloated!! Is there any way to remove unnessesary or unused features to make a smaller portable eclipse?
You can use an UPX GUI like UPX Shell (upxshell.sourceforge.net). So you can compress the most files.
Some Executables don't like being 'UPXed'. Do the java executables all accept 'UPXing'?