Eclipse Helios & Windows x64 Platform

473 views
Skip to first unread message

Peter Hancox

unread,
Jun 24, 2010, 10:39:37 AM6/24/10
to Project Lombok
Just installed the Eclipse Helios release and decided to try out 64-
bit Java at the same time. Running Windows 7 x64 for a long while but
have always stuck with 32-bit Java until now.

Eclipse refuses to load if I include "-javaagent:lombok.jar" with
error "Java was started but returned exit code=1".

Before I spend too much time investigating why, I thought I'd quickly
ask whether Lombok is expected to work in a 64-bit Java environment
and with Eclipse Helios release ???

Thanks for any info.

Peter Hancox

unread,
Jun 24, 2010, 10:53:25 AM6/24/10
to Project Lombok
Quick update. Looks like it's a problem with Eclipse Helios release.

Just installed the 32-bit Helios and (with the "-
javaagent:lombok.jar"), eclipse again fails to load but this time
there is no error message; just crashes.

Reinier Zwitserloot

unread,
Jun 24, 2010, 7:27:31 PM6/24/10
to project...@googlegroups.com
It's most assuredly supposed to work with a 64-bit release and in fact did so without any issues on pre-helios. Presumably helios changed something important. We'll start investigating ASAP.
--Reinier Zwitserloot



--
You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/

To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/project-lombok?hl=en

Jim Mochel

unread,
Jun 30, 2010, 4:12:04 PM6/30/10
to Project Lombok
I encountered the same problem using the Helios release with the 6.0
update 20 64-bit JVM. I was able to get it working by using explicit
path names in the eclipse.INI file

For example:

-javaagent:C:/Users/jmochel/Downloads/lombok.jar
-Xbootclasspath/a:C:/Users/jmochel/Downloads/lombok.jar

I hope that helps,
-Jim

On Jun 24, 7:27 pm, Reinier Zwitserloot <rein...@zwitserloot.com>
wrote:
> It's most assuredly supposed to work with a 64-bit release and in fact did
> so without any issues on pre-helios. Presumably helios changed something
> important. We'll start investigating ASAP.
> --Reinier Zwitserloot
>
>
>
> On Thu, Jun 24, 2010 at 4:39 PM, Peter Hancox <phan...@dtc.com.au> wrote:
> > Just installed the Eclipse Helios release and decided to try out 64-
> > bit Java at the same time.  Running Windows 7 x64 for a long while but
> > have always stuck with 32-bit Java until now.
>
> > Eclipse refuses to load if I include  "-javaagent:lombok.jar" with
> > error "Java was started but returned exit code=1".
>
> > Before I spend too much time investigating why, I thought I'd quickly
> > ask whether Lombok is expected to work in a 64-bit Java environment
> > and with Eclipse Helios release ???
>
> > Thanks for any info.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups group forhttp://projectlombok.org/
>
> > To post to this group, send email to project...@googlegroups.com
> > To unsubscribe from this group, send email to
> > project-lombo...@googlegroups.com<project-lombok%2Bunsubscribe@go oglegroups.com>

Reinier Zwitserloot

unread,
Jun 30, 2010, 5:36:55 PM6/30/10
to Project Lombok
Heh, great, I had "Figure out why helios 64-bit isn't working" in the
agenda, but it seems you've solved the problem. Fantastic! We'll
update the installer for the next release.

Peter Hancox

unread,
Jul 1, 2010, 10:40:33 PM7/1/10
to Project Lombok
Made the equivalent changes on my system and it fixed the problem.
Not sure what the "strategic" fix to avoid hard coding the absolute
path is; but I'll leave that for Reinier.

Many thanks for posting your solution.

REGARDS
Peter

Peter Hancox

unread,
Jul 1, 2010, 10:41:38 PM7/1/10
to Project Lombok
I believe this might affect 32-bit Helios as well.

Reinier Zwitserloot

unread,
Jul 2, 2010, 4:29:55 PM7/2/10
to project...@googlegroups.com
We toyed around with this problem on linux (where it's existed since forever, and the installer currently in fact hardcodes those paths on linux), and didn't find a solution. I'll look closely though; if we hard code the paths, it means if you move your eclipse install around lombok breaks.

--Reinier Zwitserloot



Groups group for http://projectlombok.org/


To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com

Reinier Zwitserloot

unread,
Jul 18, 2010, 1:42:52 PM7/18/10
to Project Lombok, pha...@dtc.com.au, jim.moc...@gmail.com
So, RJ, Roel, and I are all trying to reproduce this problem but so
far, no dice. The current edge build, which hasn't changed anything in
regards to how lombok installs itself into eclipse, works just fine
for us.

Was this some sort of fluke of a prerelease helios version? If there's
any question that folks are running into this issue we'll update the
installer to hardcode the path, but the disadvantage of doing that is
that you can no longer move your eclipse installation around without
rerunning the lombok installer to update the hardcoded path.

If any of you could do us a huge favour and try installing the current
edge build into your helios to see if the problem is still occuring,
we'll owe you one.

The edge build is here:

http://projectlombok.org/download-edge.html

On Jul 2, 10:29 pm, Reinier Zwitserloot <rein...@zwitserloot.com>
wrote:

Andrew Phillips

unread,
Jul 19, 2010, 9:45:47 AM7/19/10
to Project Lombok
For what it's worth, I seem to have it running fine on Helios (perhaps
an older build?) with *relative* paths. Note that I installed it "by
hand" (i.e. copied the lombok.jar into the Eclipse dir and edited the
INI file myself).

[Eclipse]
Version: Helios Release
Build id: 20100618-0524

[eclipse.ini]
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/
org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.0.v20100503
-vm
C:/Program Files/Java/jdk1.6.0_20/bin/javaw.exe
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-server
-Xss1m
-XX:PermSize=64m
-XX:+DoEscapeAnalysis
-XX:+UseConcMarkSweepGC
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx768m
-Xbootclasspath/a:lombok.jar
-javaagent:lombok.jar

[OS]
OS Name: Microsoft® Windows VistaT Business
OS Version: 6.0.6002 Service Pack 2 Build 6002
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free

Reinier Zwitserloot

unread,
Jul 19, 2010, 11:25:58 AM7/19/10
to project...@googlegroups.com
Okay, we'll release the installer in the current relative path form, but we'll keep an eye out for any reports that folks are having problems with that. In fact, I'll add an undocumented parameter to the installer to force absolute paths, that would make it easy for us to immediately help folks that do run into this problem, if it exists.

--
You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/


To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages