Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Eclipse with ibm-jdk

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

Eclipse with ibm-jdk

  • Quote

Post by Massimo B. » Sun May 15, 2005 5:32 pm

Hello.

I emerged ibm-sdk-bin-1.4.2 and eclipse-sdk on a PPC.

But doing the tutorial for "hello world" give an error:

Code: Select all

Activation.main: warning: sun.rmi.activation.execPolicy system
property unspecified and no ExecPermissions/ExecOptionPermissions
granted; subsequent activation attempts may fail due to unsuccessful
ExecPermission/ExecOptionPermission permission checks.  For
documentation on how to configure rmid security, refer to:

http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html

Activation.main: an exception occurred: Port already in use: 1098; nested exception is:
        java.net.BindException: Address already in use
java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
        java.net.BindException: Address already in use
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:283)
Beside the error messages, Eclipse has produced bytecode in the workspace.
I can run this code by

Code: Select all

java Hello
so jdk should be installed right.
The same error I get, if I do

Code: Select all

rmid -J-Djava.security.policy=rmid.policy
as described in the URLs, but they relate to SUNs jdk.
IBM-jdk is the only available for PPC.

Do I have to configure Eclipse?
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
tawtao
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 116
Joined: Mon Sep 29, 2003 3:29 am
Location: Baltimore

  • Quote

Post by tawtao » Mon May 16, 2005 7:15 am

What is the output of "java-config -L"? I just guess that your default java vm is "blackdown JDK", which is really not work well with eclipse. The ibm-jdk works well with eclipse on my machine. :)
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Mon May 16, 2005 12:51 pm

Code: Select all

# java-config -L
[ibm-jdk-bin-1.4.2] "IBM JDK 1.4.2" (/etc/env.d/java/20ibm-jdk-bin-1.4.2) *
[ibm-jre-bin-1.4.2] "IBM JRE 1.4.2" (/etc/env.d/java/20ibm-jre-bin-1.4.2)
:) I also tried the JRE, which should not be needed with JDK.
Can you tell me, how you configured eclipse to work with the ibm-jdk? It should not be caused by the PPC?
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
Sloden
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 93
Joined: Thu Dec 30, 2004 6:59 pm
Location: Nidaros: Card Board Box, Second Floor

  • Quote

Post by Sloden » Mon May 16, 2005 1:23 pm

Project properties > java build path > libraries (add library)? I use sun, by the way, and it's as smooth as java can be.
Screenshot of the month
Top
tawtao
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 116
Joined: Mon Sep 29, 2003 3:29 am
Location: Baltimore

  • Quote

Post by tawtao » Mon May 16, 2005 3:59 pm

Paolope wrote:

Code: Select all

# java-config -L
[ibm-jdk-bin-1.4.2] "IBM JDK 1.4.2" (/etc/env.d/java/20ibm-jdk-bin-1.4.2) *
[ibm-jre-bin-1.4.2] "IBM JRE 1.4.2" (/etc/env.d/java/20ibm-jre-bin-1.4.2)
:) I also tried the JRE, which should not be needed with JDK.
Can you tell me, how you configured eclipse to work with the ibm-jdk? It should not be caused by the PPC?
IMHO, it should work just fine, and should not be caused by the PPC! I think, you should take a look closely on how the RMI works, and how to set it up. From the error message, seem to me that it is an RMI issue not the eclipse. The "core java 2 : volume II" book has a chapter for this topic. Hope it help.

Edit: I run eclipse on PC with IBM JDK. :)
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Wed May 18, 2005 10:06 am

Sloden wrote:Project properties > java build path > libraries (add library)? I use sun, by the way, and it's as smooth as java can be.
Thanks, it works.
There was only "hello world" enabled, "JRE System Library" was disabled. After selecting both it worked. What I don't understand: Now it is not selected anymore, but "Run as Java application" still works.
So I go on learning Java.
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
Sloden
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 93
Joined: Thu Dec 30, 2004 6:59 pm
Location: Nidaros: Card Board Box, Second Floor

  • Quote

Post by Sloden » Wed May 18, 2005 10:16 pm

You've added it to your project. You probably have access to the library from the panel on your left. The rest is magic. :)
Screenshot of the month
Top
Post Reply

7 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic