You are here

[Outdated] Eclipse Portable 3.5.1

116 posts / 0 new
Last post
wajmhome
wajmhome's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2009-06-25 21:14
How would i....

how would I change where eclipse looks for JRE? I really want to use it but I can't if its going to take Open Office's JRE

rawr

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
Sorry I missed your comment

Sorry Sad

I missed your comment for about 12 days Sad

In the new Dev Test 5 release, you can do this by copying EclipsePortable.ini from the Other\Source folder into the folder that EclipsePortable.exe is in. Then edit the Java Path.

If your java is in the CommonFiles folder then guess what? You don't have to do anything. If you want to use it with OpenOffice.org, and it's in that other folder "\PortableApps\OpenOfficePortable\App\Java" then paste this into JavaPath=

..\OpenOfficePortable\App\Java\bin\javaw.exe

Hope this help Biggrin

guillaume.prevot
Offline
Last seen: 7 years 3 months ago
Joined: 2009-07-29 13:54
Thanks

First of all, thank you for your work.

I just bought a new PC and tried to use PortableEclipse to simplify my installation.

But (yes, most of the time, there is a 'but' :)) PortableEclipse does not find Java in CommonFiles. I think it's because my PortableApps folder is not in the root. So looking for \PortableApps\CommonFiles\Java will not work.

Is it possible to search for PortableJava with relative path to PortableEclipse instead of full path from the root, please ?

Edit: By the way, I use DevTest 3, should I test with DevTest 4 ?

Once again,

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
Yes.

Sorry, I'm being lazy on the Release Notes.

I broke a small Java functionality in Eclipse. I had a request to add quotes to the java path... "

I messed up on parameter issues.

It said "-vm $JAVAPATH" for the parameters.
It should have said. "-vm" "$JAVAPATH".

Sorry, Dev Test 4 does indeed contain the fix. Smile

Please post back on your results Blum thanks!

guillaume.prevot
Offline
Last seen: 7 years 3 months ago
Joined: 2009-07-29 13:54
Status update

Thank you Gluxon your help on this.

I installed latest JavaPortable (1.6 update 16) and latest EclipsePortable (3.5.1 dev test 4) and get this :
- using CommonFiles\Java --> Failed
- copying files from CommonFiles\Java to EclipsePortable\App\Java --> Failed
- copying files from CommonFiles\Java to EclipsePortable\App\Eclipse\jre\ --> Success

Error during the first two tests is :

A JRE or JDK must be available in order to run Eclipse. No JVM was found after searching the following loations :
D:\PortableApps\EclipsePortable\App\Eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH

I'm using Windows 7 (64bits) and get this behaviour on both my previous installation path (D:\Apps\PortableApps\PortableApps\EclipsePortable) and the default platform path (D:\PortableApps\EclipsePortable).

It's fine for me like that, I can copy one folder from time to time, it's not a big deal.

Thank you again.
Regards,
Guillaume

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
And guess what? Dev Test 5

And guess what? Dev Test 5 fixes that Blum

lol Biggrin

sorry to put you through another update Sad

LucyFan
Offline
Last seen: 5 years 7 months ago
Joined: 2007-03-13 15:24
I have downloaded the

I have downloaded the EclipsePortable_3.5.1_Java_Edition_Development_Test_4.paf.exe file and installed it to my USB, however when I try and run it on my work laptop (Windows XP Pro) I get the following error message "Incompatible JVM - Version 1.4.2_04 of the JVM is not suitable for this product. Version 1.5 or greater is required"

I have portable Java installed in the \PortableApps\CommonFiles\Java directory path and I have tried copying that to the \PortableApps\EclipsePortable\App\Java path but it still will not work.

I do not have admin rights on this laptop so I can not update the JVM is there anything I can do?

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
Um..

You haven't tried upgrading your java? It says it needs 1.5 or above. You have 1.4 obvoiusly... Blum lol. Install java 1.6 on your windows system and run the Java Portable installer again.

Please post back on your results, and you won't need the "EclipsePortable\App\Java" thing anymore Smile

LucyFan
Offline
Last seen: 5 years 7 months ago
Joined: 2007-03-13 15:24
I do not have admin rights on

I do not have admin rights on this laptop so I can not install things is there anything I can do?

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
Delete the CommonFiles

Delete the CommonFiles folder.

Run Java Portable again. Make sure you install Java 6 update 16 (latest version).

That should work without admin privs, installing it on the local system in my above post was optional.

NOTE: Anything in the Eclipse Portable package should not contain any Admin privs to set up, or use. Unless it's a plugin that doesn't come installed by default Blum

LinkSlayer64
Offline
Last seen: 12 years 4 weeks ago
Joined: 2009-01-06 16:44
Using C++

Hey, just asking, how should I set this up to work with C++, do I need to use MinGW portable? (how well does that work/how old is it btw?) and, would codeblocks work just as well? only cause I have it here on my pc, so theres some similarity.

sorry if I seem like I'm not doing research, I just kinda want some quick answers, all is appreciated

"Video games are bad for you? That's what they said about Rock'n'Roll." -Shigeru Miyamoto

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
I'm working on Eclipse with

I'm working on Eclipse with MinGW Portable. (Dumb Environment Variables)

For the current moment. When you wish to use MinGW Portable with Eclipse Portable. Open up MinGW Portable, then start up Eclipse Portable Smile

If you close MinGW Portable Eclipse Portable might start to use the local copy of MinGW. Launch MinGW Portable First! Smile

Why? MinGW Portable sets up environment variables to when it launches. Eclipse Portable then will use them Smile Close MinGW Portable, and I predict that Eclipse will forget where the path for MinGW was and compiling c/c++ will break.

[Edit: Done, MinGW Portable is fully compatible with Eclipse Portable in Development Test 5]

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
4 posts of different problems

4 posts of different problems are ruining my self esteem, lol Blum

Then I found a post saying that people don't post if it works fine, only problems... which is SOOOO TRUE!!!.

As a result, could people start posting whether this works perfectly or not? Smile

superkryo
Offline
Last seen: 4 years 2 months ago
Joined: 2009-01-23 05:24
Managed to get it to work

Managed to get it to work with /common/java install by:

1. change "-vm" "$JAVAPATH" in the source and recompile;
2. use a relative path to java of "JavaPath=..\..\CommonFiles\Java\bin\javaw.exe" in EclipsePortable.ini. Note the path in the source is "JavaPath=..\..\..\CommonFiles\Java\bin\javaw.exe"

mcarthey
Offline
Last seen: 14 years 10 months ago
Joined: 2009-11-18 10:56
recompile?

Could you further explain point #1 since it seems like I may be having the same issue with the path.

Thanks!

superkryo
Offline
Last seen: 4 years 2 months ago
Joined: 2009-01-23 05:24
The source is in

The source is in other\source\Eclipseportable.nsi. To compile the script, you need "Nullsoft Scriptable Install System to compile". Try NISEditPortable.

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
Uhhh... that's already in Dev

Uhhh... that's already in Dev Test 4...

And ..\..\ doesn't solve anything.

And...! Eclipse is also an NSIS editor. (EclipseNSIS.sf.net)

mcarthey
Offline
Last seen: 14 years 10 months ago
Joined: 2009-11-18 10:56
EclipsePortable.ini: JavaPath?

If I open a command window and manually modify my path to the absolute location of my javaw.exe file, things work fine. Despite verifying the settings (and trying various combinations of absolute/relative) I am unable to click on EclipsePortable.exe and get the application to run. I am presented with the error:

A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine
was found after searching the following locations:
F:\Applications\EclipsePortable\App\Eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH

I installed Java Portable and javaw.exe is available at: F:\Applications\CommonFiles\Java\bin so I've set JavaPath as: JavaPath=..\..\..\CommonFiles\Java\bin

Thanks for any clarification!

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
Eye, yai, yai! Once, again,

Eye, yai, yai!

Once, again, I'm pretty sure I've got MinGW Portable, and the Java fix down just now.
I'm having two people test it out for me quickly before the release.

mcarthey
Offline
Last seen: 14 years 10 months ago
Joined: 2009-11-18 10:56
Thanks!

Thanks for the quick response! I look forward to "testing" the next release.

For the record, I realize I stated that I set JavaPath above as a specific value, but that was just one of many iterations I had tried. I did initially have it set as the default JavaPath=..\..\..\CommonFiles\Java\bin\javaw.exe but had modified it so many times that I neglected to post the variations.

Thanks again!

wajmhome
wajmhome's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2009-06-25 21:14
yay

working like a charm now. Ty very much friend. Always wanted to dev some c++ apps and learn java. (so I can create some interesting games Biggrin

rawr

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
Development Test 5 Released

Development Test 5 Released.

This fixes a problem that was probably created from a series of new features being added to the launcher. The problem/bug was fixed by converting relative pathing to absolute pathings.

Example: ..\CommonFiles\Java\bin\javaw.exe --> B:\PortableApps\CommonFiles\Java\bin\javaw.exe

Guess what? This means that about 700 users have to upgrade Blum

Also, all relative paths in the INI will now be switched to start from the root of the Eclipse Portable path. "B:\PortableApps\EclipsePortable"

MinGW Portable support was added, FINALLY!!! Biggrin
A lot of you have been requesting this, and it was tested and works Smile
Just install the MinGWPortable folder parallel with EclipsePortable folder.

So use pathing like this.

B:
- \PortableApps
- - - - - - - -\EclipsePortable
- - - - - - - -\MinGWPortable
- - - - - - - - - - - - - - -\App
- - - - - - - - - - - - - - - - -\MinGW
- - - - - - - - - - - - - - - - - - - -\bin
- - - - - - - -\CommonFiles
- - - - - - - - - - - - - -\Java
- - - - - - - - - - - - - - - - \bin
- - - - - - - - - - - - - - - - \javaw.exe

Smile

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
New Thread

Create a new thread for this one. Once you get past about 50 comments, it's best to do a new thread for a new dev test.

Sometimes, the impossible can become possible, if you're awesome!

gluxon
gluxon's picture
Offline
Last seen: 4 years 1 month ago
Developer
Joined: 2008-06-21 19:26
Alright Thanks I'll work on

Alright Smile

Thanks Biggrin
I'll work on subversion for the next couple of days... Smile
Then it'll be 100% ready.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 3 months ago
Joined: 2007-04-15 21:08
Leave Subversion

Really, please don't work on Subversion stuff. Just leave it as it is, not done properly. As I've said, it's dangerous to touch it unless we all touch it in the same way. Wait for the PortableApps.com Universal Launcher, then we can take a look at doing it with Eclipse and Subcommander for starters.

Also, please, please, please don't just delete all the content of the page when it's outdated. We keep things because we can, avoid deleting any content. Just stick "[Outdated] " at the start of the topic line (that seems to have become the convention) and a moderator can lock the thread if they feel like it (like I'm just about to do). (I also felt like making the outdated text more descriptive, seeing as you'd scrapped the rest of the content.)

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

Pages

Topic locked