On Tue, Mar 04, 2003 at 05:18:01PM -0800, Ian Clarke wrote:
> > Argh. Yet Another Fucking Hawk Java Problem. And it's using the exact
> > same JDK as is on my machine...
> 
> That seems unlikely - are you sure it isn't compiling with jikes or 
> whatever?

It doesn't look like it.

ian at hawk:~$ export
PATH=/usr/local/j2sdk1.4.1_01/bin:/usr/local/bin:/opt/ant/bin:$PATH
ian at hawk:~$ export
CLASSPATH=/usr/local/j2sdk1.4.1_01/jre/lib/rt.jar:$CLASSPATH
ian at hawk:~$ export JAVA_HOME=/usr/local/j2sdk1.4.1_01/
ian at hawk:~$ export
CVSROOT=:pserver:anonymous at cvs.freenet.sourceforge.net:/cvsroot/freenet

ian at hawk:~/tmp$ which javac
/usr/local/j2sdk1.4.1_01/bin/javac

Then I compile freenet:
ian at hawk:~/tmp/freenet-stable$ ant clean && ant

And it produces the corrupt file:
ian at hawk:~/tmp/freenet-stable$ ls -l lib
total 1904
drwxr-sr-x    2 ian      ian          4096 Oct 28 18:16 CVS
-rw-r--r--    1 ian      ian        127205 Oct 20 09:37 freenet-ext.jar
-rw-r--r--    1 ian      ian       1788806 Mar  4 17:28 freenet.jar
-rw-r--r--    1 ian      ian         15117 Sep  4 23:16 junit-gpl.jar

Whereas if I compile it locally, from freshly checked out stable branch,
I get:
total 1865
drwxr-xr-x    2 root     root          152 2002-12-19 17:00 CVS
-rw-r--r--    1 root     root       127205 2002-10-20 17:37
freenet-ext.jar
-rw-r--r--    1 root     root      1774341 2003-03-05 00:37 freenet.jar

Users tell me that the first JAR causes the crash, the second one
doesn't. However java -version tells me that I am using the same java on
both machines.
> 
> Ian.
> 
> -- 
> Ian Clarke                ian@[freenetproject.org|locut.us|cematics.com]
> Latest Project                                          http://locut.us/
> Personal Homepage                                 http://locut.us/ian/



-- 
Matthew Toseland
toad at amphibian.dyndns.org/amphibian at users.sourceforge.net
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at 
http://80-192-4-23.cable.ubr09.na.blueyonder.co.uk:8889/r8qSQrzZG8I/
ICTHUS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20030305/e468ac4c/attachment.pgp>

Reply via email to