OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Java.net (1.4 Spesifications) Incompatible, anyworkaround for blackdown
acidmoose
post Oct 6 2005, 04:07 AM
Post #1





Group: Members
Posts: 4
Joined: 16-September 05
Member No.: 8,124



I have successfully installed blackdown 1.3.1 on my Zaurus SL-C3100, and I´m trying to run a program originally intended for java 1.4.x and above...

My problem is this:
java.lang.NoClassDefFoundError: java/net/SocketAddress
at....
at....
and so on.

After some searching I found that the problem is this:
SocketAddress is apparently a java 1.4 spesific class, and has been reorganized from the jnet package in java 1.3.

So is it possible to download some libraries or packages, for a workaround so that I don´t have to reprogram everything? Could someone direct me in any direction, as I´m currently quite stuck...

Thanks
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Borealid
post Oct 8 2005, 10:59 AM
Post #2





Group: Members
Posts: 46
Joined: 28-August 05
Member No.: 7,967



Since there's interest, I've built Jikes, Classpath, and JamVM from source. These are all PdaXrom RC-11/12, built with -O2 -mtune=iwmmxt -mcpu=iwmmxt. Have fun.

Also included are two scripts, "java" and "javac", which run jamvm and jikes respectively with the arguments needed to make them work.

If you install to an alternate destination remember to create the correct symlinks.

Classpath is a hair too big to post here normally (5.2MB), so I've split it into two files. Download them all to the same directory, and combine them like this:

$ tar xvzf usrlibinclude.tar.gz
$ tar xvzf usrshare.tar.gz
$ tar czvf classpath_0.18_armv5tel.ipk debian-binary control.tar.gz usr

Then you'll have a .ipk you may install normally.

Remember the symlinks if you use ipkg -d!

The included scripts may also may not work for strange classpaths. They're just one-line hacks. Feel free to rewrite them.
Attached File(s)
Attached File  JamVM_1.3.3_armv5tel.ipk ( 70.64K ) Number of downloads: 85
Attached File  jikes_1.22_armv5tel.ipk ( 586.57K ) Number of downloads: 78
Attached File  usrlibinclude.tar.gz ( 142.46K ) Number of downloads: 79
 
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th April 2014 - 07:00 PM