View previous topic :: View next topic |
Author |
Message |
millermiller n00b
Joined: 26 May 2005 Posts: 52
|
Posted: Mon Jun 13, 2005 8:34 am Post subject: Has anybody sucessfully build sun jdk on sparc? |
|
|
or we only have blackdown supported on sparc?
Can I simply download the source from sun and build on sparc linux?
Thanks, _________________ Free as in Freedom |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Mon Jun 13, 2005 12:37 pm Post subject: |
|
|
You can't download the sources from sun, who said it was open source? _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
robbyjo Guru
Joined: 06 Apr 2003 Posts: 462
|
Posted: Mon Jun 13, 2005 3:42 pm Post subject: |
|
|
We can download Sun's JDK out of Sun's site through its academic licence (JRL):
http://java.sun.com/j2se/1.5.0/download.jsp
Or, you can download it through SCSL licence. However, for Java JDK 1.5.0, you'll need Java 1.4.2 installed already. In Linux Sparc, the latest JDK is Blackdown's JDK 1.4.1. So, we're SOL. Not only that, I've tried patching the 1.4.2-ness by going through hoops, it still hell to compile.
I hacked the source code sometime ago, but it fails to compile. It needs weird requirements to build too, such as the GCC version must be 2.95 and so forth. I'd love to see JDK 1.5 runs in Linux Sparc, though. I'm not quite sure how the Blackdown folks do. It's been a while. |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Mon Jun 13, 2005 3:48 pm Post subject: |
|
|
That's not the complete source, just the JRL, check the facts _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
robbyjo Guru
Joined: 06 Apr 2003 Posts: 462
|
Posted: Mon Jun 13, 2005 4:06 pm Post subject: |
|
|
No. It's the complete source, unless you're building on the Solaris. The binary package that you need to download is just a bunch of icons, fonts, and default sound files (WAVs). Of course you'll need this to be incorporated so that Swing can be run well. For Solaris binaries, they are essentially kernel patches for Java video handling. Other than this, there are no other executables. So, you can build it when you have the resources. |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Mon Jun 13, 2005 7:50 pm Post subject: |
|
|
Interesting, but i kinda doubt sun's source includes blackdown's ABI stuff for ppc/sparc linux for instance... _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
robbyjo Guru
Joined: 06 Apr 2003 Posts: 462
|
Posted: Tue Jun 14, 2005 12:18 am Post subject: |
|
|
gust4voz wrote: | Interesting, but i kinda doubt sun's source includes blackdown's ABI stuff for ppc/sparc linux for instance... |
No, it's not. Blackdown's source is not open, perhaps due to the contract they must sign. The ABI for Java should be pretty much the same across platforms except for low-level stuffs (like calls to video drivers or whatnot). But we can start from somewhere. Unsure about the amount of works for that low-level stuffs. |
|
Back to top |
|
|
|