Login

logo6


Apache Harmony Java Download

Description:

This is the port of the Apache's implementation of Java, called Harmony.

Harmony's homepage is http://harmony.apache.org

Current status:

1. This release now contains the both the Harmony java runtime and javac.
So you can now both run the pre-compiled bytecode and also compile the Java code.

2. Also, this release is now self-hosting - I have tested this release by using it to compile itself from the source.

Issues:

1. This release would still work only with a post-Alpha3 installtion. This is because of the better pthread API support post -Alpha3.

2. Also, you will need a gcc4 or hybrid installation, as this release is linked against gcc4, due to compilation issues.

3. Although this release normally runs fine, it sporadically hangs up and doesn't exit cleanly when you kill it on longer runs. I saw this issue when when running ant.

Harmony provides a suite of test cases but I haven't run them yet. Once I have done that, I will mention the issues found in  the issues section above.

I have made the source available at:

http://www.dhruwat.com/svn/harmonyforhaiku

 

Along with Haiku's OpenJDK port, Harmony can be a good alternative to try.

Submitted On:
07 Dec 2011
Submitted By:
Dhruwat Bhagat (unitedroad)
Submitted On:
07 Dec 2011
File Size:
91,354.57 Kb
Downloads:
39
License:
Apache Harmony is covered by Apache License 2.0. Other 3rd Party software components are covered under the licence terms of the authors of the respective components. Please refer the LICENSE file in the uploaded tar.gz file for the complete details on the applicable licences and restrictions.
File Version:
0.1
File Author:
Dhruwat Bhagat
File HomePage:
Click to visit site
Rating:
Total Votes:0

Comments  

 
+1 # RE: Apache Harmony Javabbjimmy 2011-11-20 21:25
OK, how do you make this work? How does one install the software?
 
 
0 # RE: Apache Harmony Javaunitedroad 2011-11-21 07:28
Hi,
unfortunately, there is not installation process mechanism at the moment. So you have to add the jdk/jre/bin directory to the PATH.

If you are getting the "Can't find missing library" message, then you have to copy all the shared libraries in the jre/jre/bin and jdk/jre/bin/default directory to /boot/common/lib directory.
Then you should be able to run java.

If you face any other issues then please comment about them.
 
 
0 # RE: Apache Harmony Javabbjimmy 2011-11-21 10:41
I'm running r1a3, This must have been compiled on a later version. I have resolved all the missing library problems linking all the libraries to a new lib folder in jre/jre/bin but it still doesn'r run:

runtime_loader: /boot/system/lib/gcc4/libroot.so: version "LIBROOT_1_ALPHA4" not found (required by libhythr.so)
 
 
0 # RE: RE: Apache Harmony Javaunitedroad 2011-11-21 21:58
Yes, I used a later gcc4 hybrid nightly as the base for the development. This is because the pthread support on Haiku became more complete only after that.

Also, the existing preprocessor code from Apache was written for gcc4 and I haven't tinkered with that.

Could you try this on the latest hybrid nightly?

Maybe try checking out the latest code and build it yourself?
 
 
+1 # RE: Apache Harmony Javakvdman 2011-12-07 12:54
hmm, so can I play wordracer on Haiku now?? :lol:
 
 
0 # RE: RE: Apache Harmony Javaunitedroad 2011-12-07 21:03
Quoting kvdman:
hmm, so can I play wordracer on Haiku now?? :lol:


Unfortunately, no since the AWT/Swing don't work yet :o . But it is a fully functional, "self-hosting" release so we wouldn't need to jump through the hoops to compile those in and see if they work :D .
 


Please register to post comments

Search Files

Search For: 
Search File Titles: 
Search File Descriptions: 

The Largest BeOS/Haiku Software Repository