Skip to main content

mipsel-linux debian (etch) - JDK5

3 replies [Last post]
james_dougherty
Offline
Joined: 2007-05-23
Points: 0

Hi,

I'm looking for the JDK5 source or JRE binary package for mipsel-linux,
when I try to install it, I find that the packages are only available for ia32 (x86/Linux).
Is somebody working on a debian package for mipsel?

If not, and given that I don't have a bootstrap compile for JRE/JDK5 on MIPS,
is there some procedure I can follow to build the JDK on mipsel?

Thank you very much in advance for your time and attention to this matter.
-James

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tmarble
Offline
Joined: 2003-08-22
Points: 0

James:

There is no such port for JDK 5 or JDK 6:
http://java.sun.com/j2se/1.5.0/system-configurations.html
http://java.sun.com/javase/6/webnotes/install/system-configurations.html

However I am personally working with Debian Developers
(and every other major Linux distro) to get OpenJDK
(JDK 7 alpha) packaged:
http://openjdk.java.net/

One of the things we expect will happen with OpenJDK
is the community will support many more ports... and we
hope to continue to improve our documentation on how to
bootstrap new ports. Allow me to point you to:
http://openjdk.java.net/groups/hotspot/

...and recommend discussing the port on our
mailing list hotspot-dev:
http://mail.openjdk.java.net/mailman/listinfo

Regards,

--Tom

james_dougherty
Offline
Joined: 2007-05-23
Points: 0

Thanks Tom,

This was very helpful. I've downloaded the package, installed all the pre-requisites
and now running into the real work. I'll follow your suggestion and post a follow-up
message to the hotspot-dev list.

Thanks!
-james

jianzhu
Offline
Joined: 2008-08-21
Points: 0

Hi james:
My name is Jian, a simple j2ee developer from China . I am quite exciting to see your port form Internet And now , i have the same porblem . i will install the jdk and tomcat on MIPS debian to run my app. From your port , i know the openJdk may help me .
I install the "openjdk-6-jdk" successfully . but when i test the jdk it falls. i use "java -version " or" javac test.java"or"java test", it shows that :" Error occurred during initialization of VM
Could not reserve enough space for object heap Could not create the Java virtual machine."
I try to use "java -Xmx256M -version ", it is right:
" ebg3000:/usr/bin# java -Xmx256M -version
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK Core VM (build 1.6.0_0-b11, interpreted mode)"
so i think may be there is the wrong with allocate memory, but i try to use" javac -Xmx256M test.java" , it also fell.
even use " javac -Xmx32M test.java" it also fell.
Did you have the same porblem before in MIPS 64bit debian ? is there sth wrong with the openjdk itself ?
or can you show me your experience on installing jdk and tomcat on MIPS debian ?

Message was edited by: jianzhu