public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-java] eclipse on ppc
@ 2006-05-11 16:41 David Gurvich
  2006-05-11 18:33 ` Joshua Nichols
  2006-05-18 19:41 ` David Gurvich
  0 siblings, 2 replies; 10+ messages in thread
From: David Gurvich @ 2006-05-11 16:41 UTC (permalink / raw
  To: gentoo-java

I have used the ebuild from the java-experimental overlay,
eclipse-sdk-3.2_rc2.  Aside from having to modify the java5home variable
manually it compiled cleanly.

My problem concerns ibm-jdk-bin.  On ppc systems the only real option is
ibm-jdk-bin.  If I start eclipse with either 1.4.2 or 1.5.0 as the system jvm
eclipse will crash soon after attempting to access the menus.  If I use the
following script
-----------------------------------------------------------------------------
#!/bin/sh

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/kde/3.5/lib
export LD_LIBRARY_PATH

/usr/bin/java-config -s 1
/usr/bin/eclipse-3.2 -vmargs -Xmx256M
/usr/bin/java-config -s 2
---------------------------------------------------------------------------
Eclipse opens and runs with no problems.
The only part which makes a difference is the java-config -s 1, which sets
 the system jvm to gcj-4.1.0.  Do you know what the problem or solution may
 be?


-------------- 
Kmail on Gentoo/PPC
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-java] eclipse on ppc
  2006-05-11 16:41 [gentoo-java] eclipse on ppc David Gurvich
@ 2006-05-11 18:33 ` Joshua Nichols
  2006-05-11 22:09   ` David Gurvich
  2006-05-18 19:41 ` David Gurvich
  1 sibling, 1 reply; 10+ messages in thread
From: Joshua Nichols @ 2006-05-11 18:33 UTC (permalink / raw
  To: David Gurvich; +Cc: gentoo-java

David Gurvich wrote:
> I have used the ebuild from the java-experimental overlay,
> eclipse-sdk-3.2_rc2.  Aside from having to modify the java5home variable
> manually it compiled cleanly.
>   
What did you have to modify it too?
> My problem concerns ibm-jdk-bin.  On ppc systems the only real option is
> ibm-jdk-bin.  If I start eclipse with either 1.4.2 or 1.5.0 as the system jvm
> eclipse will crash soon after attempting to access the menus.  If I use the
> following script
>   

Please try to catch the exact error and logs if possible.
> -----------------------------------------------------------------------------
> #!/bin/sh
>
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/kde/3.5/lib
> export LD_LIBRARY_PATH
>
> /usr/bin/java-config -s 1
> /usr/bin/eclipse-3.2 -vmargs -Xmx256M
> /usr/bin/java-config -s 2
> ---------------------------------------------------------------------------
> Eclipse opens and runs with no problems.
> The only part which makes a difference is the java-config -s 1, which sets
>  the system jvm to gcj-4.1.0.  Do you know what the problem or solution may
>  be?
>
>   
Any particular reason why you'd need to add the kde lib to 
LD_LIBRARY_PATH? I would think it would already be there.

You might want to use the name of the vm, instead of a number, just in 
case the number changes.
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-java] eclipse on ppc
  2006-05-11 18:33 ` Joshua Nichols
@ 2006-05-11 22:09   ` David Gurvich
  2006-05-12  0:12     ` Caster
  2006-05-12 15:15     ` Joshua Nichols
  0 siblings, 2 replies; 10+ messages in thread
From: David Gurvich @ 2006-05-11 22:09 UTC (permalink / raw
  To: gentoo-java

[-- Attachment #1: Type: text/plain, Size: 1754 bytes --]


> What did you have to modify it too?

The ebuild set java5home to /opt/ibm-jdk-bin-1.5, I just changed it to 
ibm-jdk-bin-1.5.0..
local java5home=/opt/ibm-jdk-bin-1.5.0

> Please try to catch the exact error and logs if possible.

popup window upon termination
-----------------------------------------------------------------------
JVM terminated. Exit code=1
/usr/bin/java
-jar /usr/lib/eclipse-3.2/startup.jar
-os linux
-ws gtk
-arch ppc
-launcher /usr/lib/eclipse-3.2/eclipse-gtk
-name Eclipse-gtk
-showsplash 600
-exitdata 4c8000
-vm /usr/bin/java
-vmargs
-jar /usr/lib/eclipse-3.2/startup.jar 
---------------------------------------------------------------------------
console error
--------------------------------------------------------------------------
JVMDG217: Dump Handler is Processing Signal 11 - Please Wait.
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written 
to /home/david/javacore.20060511.180029.16276.txt
JVMDG215: Dump Handler has Processed Exception Signal 11.

I will attach the compressed javacore file.
> Any particular reason why you'd need to add the kde lib to
> LD_LIBRARY_PATH? I would think it would already be there.
I was trying out some Qt code in eclipse and it wouldn't run without that.  It 
is in fact in /etc/ld.so.conf, but eclipse wanted an explicit LD_LIBRARY_PATH 
set prior to starting eclipse.  I couldn't figure out how to configure that 
from within eclipse so put it in the startup script.

> You might want to use the name of the vm, instead of a number, just in
> case the number changes.
Do you mean code such as the following:
eclipse-3.2 -vm "/opt/ibm-jdk-bin-1.4.2.04/bin/javaw"
If so, I have done that for both ibm jdks, and it crashed with both.
-- 
Kmail on Gentoo/PPC

[-- Attachment #2: java_erro.tbz2 --]
[-- Type: application/x-tbz, Size: 58314 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-java] eclipse on ppc
  2006-05-11 22:09   ` David Gurvich
@ 2006-05-12  0:12     ` Caster
  2006-05-12 15:15     ` Joshua Nichols
  1 sibling, 0 replies; 10+ messages in thread
From: Caster @ 2006-05-12  0:12 UTC (permalink / raw
  To: gentoo-java

David Gurvich wrote:
>> You might want to use the name of the vm, instead of a number, just in
>> case the number changes.
> Do you mean code such as the following:
> eclipse-3.2 -vm "/opt/ibm-jdk-bin-1.4.2.04/bin/javaw"
> If so, I have done that for both ibm jdks, and it crashed with both.

No, he meant to replace "java-config -s 1" with "java-config -s gcj-4.1"
(or whatever is listed for this vm in brackets if you do java-config
-L). Also you said system jvm, -s is for user jvm.

Caster
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-java] eclipse on ppc
  2006-05-11 22:09   ` David Gurvich
  2006-05-12  0:12     ` Caster
@ 2006-05-12 15:15     ` Joshua Nichols
  2006-05-13  2:12       ` David Gurvich
  2006-05-15 15:58       ` David Gurvich
  1 sibling, 2 replies; 10+ messages in thread
From: Joshua Nichols @ 2006-05-12 15:15 UTC (permalink / raw
  To: gentoo-java

David Gurvich wrote:
>> What did you have to modify it too?
>>     
>
> The ebuild set java5home to /opt/ibm-jdk-bin-1.5, I just changed it to 
> ibm-jdk-bin-1.5.0..
> local java5home=/opt/ibm-jdk-bin-1.5.0
>
>   
What does 'GENTOO_VM=ibm-jdk-bin-1.5 java-config-2 --jdk-home' tell you?

Also, could you try with the most recent version, 3.2_rc3 ?
>> Please try to catch the exact error and logs if possible.
>>     
>
> popup window upon termination
> -----------------------------------------------------------------------
> JVM terminated. Exit code=1
> /usr/bin/java
> -jar /usr/lib/eclipse-3.2/startup.jar
> -os linux
> -ws gtk
> -arch ppc
> -launcher /usr/lib/eclipse-3.2/eclipse-gtk
> -name Eclipse-gtk
> -showsplash 600
> -exitdata 4c8000
> -vm /usr/bin/java
> -vmargs
> -jar /usr/lib/eclipse-3.2/startup.jar 
> ---------------------------------------------------------------------------
> console error
> --------------------------------------------------------------------------
> JVMDG217: Dump Handler is Processing Signal 11 - Please Wait.
> JVMDG303: JVM Requesting Java core file
> JVMDG304: Java core file written 
> to /home/david/javacore.20060511.180029.16276.txt
> JVMDG215: Dump Handler has Processed Exception Signal 11.
>
> I will attach the compressed javacore file.
>   
That can't be good. Is there anyone else with PPC hardware that can
test/verify this?

-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-java] eclipse on ppc
  2006-05-12 15:15     ` Joshua Nichols
@ 2006-05-13  2:12       ` David Gurvich
  2006-05-13  2:34         ` David Gurvich
  2006-05-13  3:01         ` David Gurvich
  2006-05-15 15:58       ` David Gurvich
  1 sibling, 2 replies; 10+ messages in thread
From: David Gurvich @ 2006-05-13  2:12 UTC (permalink / raw
  To: gentoo-java


> What does 'GENTOO_VM=ibm-jdk-bin-1.5 java-config-2 --jdk-home' tell you?
That gives the proper result of "/opt/ibm-jdk-bin-1.5.0"

> Also, could you try with the most recent version, 3.2_rc3 ?
I will test it Saturday.
-- 
Kmail on Gentoo/PPC
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-java] eclipse on ppc
  2006-05-13  2:12       ` David Gurvich
@ 2006-05-13  2:34         ` David Gurvich
  2006-05-13  3:01         ` David Gurvich
  1 sibling, 0 replies; 10+ messages in thread
From: David Gurvich @ 2006-05-13  2:34 UTC (permalink / raw
  To: gentoo-java

I'm getting some oddball syntax error somewhere in the ebuild.  Can't figure 
out what it is.  Claims not to like the inherit line.
On Friday 12 May 2006 10:12 pm, David Gurvich wrote:
> > What does 'GENTOO_VM=ibm-jdk-bin-1.5 java-config-2 --jdk-home' tell you?
>
> That gives the proper result of "/opt/ibm-jdk-bin-1.5.0"
>
> > Also, could you try with the most recent version, 3.2_rc3 ?
>
> I will test it Saturday.
> --
> Kmail on Gentoo/PPC

-- 
Kmail on Gentoo/PPC
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-java] eclipse on ppc
  2006-05-13  2:12       ` David Gurvich
  2006-05-13  2:34         ` David Gurvich
@ 2006-05-13  3:01         ` David Gurvich
  1 sibling, 0 replies; 10+ messages in thread
From: David Gurvich @ 2006-05-13  3:01 UTC (permalink / raw
  To: gentoo-java

I seem to have 2 versions of 3.2_rc3 on my system.  First in java-experimental 
second in gcj-overlay.  The one in java-experimental is the one with syntax 
error.
On Friday 12 May 2006 10:12 pm, David Gurvich wrote:
> > What does 'GENTOO_VM=ibm-jdk-bin-1.5 java-config-2 --jdk-home' tell you?
>
> That gives the proper result of "/opt/ibm-jdk-bin-1.5.0"
>
> > Also, could you try with the most recent version, 3.2_rc3 ?
>
> I will test it Saturday.
> --
> Kmail on Gentoo/PPC

-- 
Kmail on Gentoo/PPC
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-java] eclipse on ppc
  2006-05-12 15:15     ` Joshua Nichols
  2006-05-13  2:12       ` David Gurvich
@ 2006-05-15 15:58       ` David Gurvich
  1 sibling, 0 replies; 10+ messages in thread
From: David Gurvich @ 2006-05-15 15:58 UTC (permalink / raw
  To: gentoo-java

I've compiled 3.2_rc3-r1 and it crashes using ibm-jdk-bin.  Using gcj it does 
not, but gets caught in some loop.  I seem to recall using -compilelibs for 
3.2_rc2.  Perhaps that had something to do with it.
-- 
Kmail on Gentoo/PPC
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-java] eclipse on ppc
  2006-05-11 16:41 [gentoo-java] eclipse on ppc David Gurvich
  2006-05-11 18:33 ` Joshua Nichols
@ 2006-05-18 19:41 ` David Gurvich
  1 sibling, 0 replies; 10+ messages in thread
From: David Gurvich @ 2006-05-18 19:41 UTC (permalink / raw
  To: gentoo-java

eclipse-sdk-3.2_rc3-r1 compiles cleanly as does rc2, but still crashes when 
used on ppc with ibm-jdk-bin as the jvm for eclipse.  There is no problem 
actually using ibm-jdk within eclipse for projects..

I have been using gcj as the jvm for eclipse.  ibm-jdk acquires between 20M 
and 50M upon startup, while gcj uses 100M+, currently using 123M.  Perhaps it 
is a memory problem.  Though I have tried  to start ecllpse with more memory 
the ibm jdk does not seem to accept it.

When I first compiled rc3 I did not modify with -compilelibs and it seemed 
quite slow, but the second time I did, now eclipse seems relatively speedy 
after startup.
-- 
Kmail on Gentoo/PPC
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-05-18 19:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-11 16:41 [gentoo-java] eclipse on ppc David Gurvich
2006-05-11 18:33 ` Joshua Nichols
2006-05-11 22:09   ` David Gurvich
2006-05-12  0:12     ` Caster
2006-05-12 15:15     ` Joshua Nichols
2006-05-13  2:12       ` David Gurvich
2006-05-13  2:34         ` David Gurvich
2006-05-13  3:01         ` David Gurvich
2006-05-15 15:58       ` David Gurvich
2006-05-18 19:41 ` David Gurvich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox