[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-java
Subject:    Re: Re: armv5tel and blackdown 1.3.1: Illegal instruction
From:       linux pc <k6_pc () yahoo ! com>
Date:       2005-06-18 1:08:31
Message-ID: 20050618010832.95441.qmail () web32415 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

I tried to diagnosticate it further, but I didn't get far. The error message
is just "Illegal instruction", and the only param I found that doesn't cause
it is "-help" (even "-version" and "-verbose" trigger it). Of course, it appears
only if I copy bin/armv4l and bin/armv4l to /bin/armv5tel and /bin/armv5tel
(otherwise it can't find libjava.so - I tried symlinking too). 
  I tried to edit the "java" script and hardcoded armv4l, but without the
duplicated /bin/armv5tel and lib/armv5tel it gave the following error
(it must call uname -a somewhere else too):
 
#java -version
exec: 37: /usr/local/j2re1.3.1/bin/../bin/armv5tel/realpath: not found
/usr/local/j2re1.3.1/bin/java: 68: /bin/realpath: not found
/usr/local/j2re1.3.1/bin/java: 69: /bin/realpath: not found
grep: /lib/jvm.cfg: No such file or directory
grep: /lib/jvm.cfg: No such file or directory
/usr/local/j2re1.3.1/bin/java: 132: /bin/realpath: not found
java was not found in /bin/armv4l/native_threads/java

  Too bad a decent piece of software such as blackdown
has already become unusable on linux/ARM...
 
Regards,
Danny

Dominic Duval <dd@dd.qc.ca> wrote:
What's the illegal instruction about? Is it showing anything else? The
1.3.1 release runs fine on the PXA255, but I've never tried it on the 270...
Cheers,
-Dominic
 
On Fri, 2005-05-27 at 22:07 -0700, linux pc wrote:
> Hello everybody,
> 
> I'm trying to run blackdown from j2re-1.3.1-RC1-linux-arm.tar.bz2 on
> an xscale pxa270. I've followed the install instructions (unarchive,
> set path) and then duplicated bin/armv4 and lib/armv4 into
> bin/armv5tel and lib/armv5tel to get rid of "Error: can't find
> libjava.so." problem ("uname -m" returns armv5tel instead of armv4).
> But now I get an Illegal instruction each time I try to run "java" -
> could it be a difference between pxa270 and pxa255 (which i saw people
> run blackdown on) that causes this? (also saw an issue in the
> bugtracker about this but it was for an older version/i386)

		
---------------------------------
Yahoo! Sports
 Rekindle the Rivalries. Sign up for Fantasy Football
[Attachment #3 (text/html)]

<DIV>&nbsp; I tried to diagnosticate it further, but I didn't get far. The error \
message</DIV> <DIV>is just "Illegal instruction", and the only param I found that \
doesn't cause</DIV> <DIV>it is "-help" (even "-version" and "-verbose" trigger it). \
Of course, it appears</DIV> <DIV>only&nbsp;if I copy bin/armv4l and bin/armv4l to \
/bin/armv5tel and /bin/armv5tel</DIV> <DIV>(otherwise it can't find libjava.so - I \
tried symlinking too). </DIV> <DIV>&nbsp;&nbsp;I tried to edit the "java" script and \
hardcoded armv4l, but without the</DIV> <DIV>duplicated /bin/armv5tel and \
lib/armv5tel it gave the following error</DIV> <DIV>(it must call uname -a somewhere \
else too):</DIV> <DIV>&nbsp;</DIV>
<DIV>#java -version</DIV>
<DIV><SPAN class=usertext>exec: 37: \
/usr/local/j2re1.3.1/bin/../bin/armv5tel/realpath: not \
found<BR>/usr/local/j2re1.3.1/bin/java: 68: /bin/realpath: not \
found<BR>/usr/local/j2re1.3.1/bin/java: 69: /bin/realpath: not found<BR>grep: \
/lib/jvm.cfg: No such file or directory<BR>grep: /lib/jvm.cfg: No such file or \
directory<BR>/usr/local/j2re1.3.1/bin/java: 132: /bin/realpath: not found<BR>java was \
not found in /bin/armv4l/native_threads/java<BR></SPAN></DIV> <DIV><SPAN \
class=usertext>&nbsp; Too bad a decent piece of software such as \
blackdown</SPAN></DIV> <DIV><SPAN class=usertext>has already&nbsp;become unusable \
</SPAN><SPAN class=usertext>on linux/ARM...</SPAN></DIV> <DIV><SPAN \
class=usertext></SPAN><SPAN class=usertext></SPAN>&nbsp;</DIV> <DIV><SPAN \
class=usertext>Regards,</SPAN></DIV> <DIV><SPAN class=usertext>Danny</DIV></SPAN>
<DIV><BR>Dominic Duval &lt;<A href="mailto:dd@dd.qc.ca">dd@dd.qc.ca</A>&gt; \
wrote:</DIV> <DIV>What's the illegal instruction about? Is it showing anything else? \
The<BR>1.3.1 release runs fine on the PXA255, but I've never tried it on the \
270...</DIV> <DIV>Cheers,<BR>-Dominic</DIV>
<DIV>&nbsp;</DIV>
<DIV>On Fri, 2005-05-27 at 22:07 -0700, linux pc wrote:<BR>&gt; Hello \
everybody,<BR>&gt; <BR>&gt; I'm trying to run blackdown from \
j2re-1.3.1-RC1-linux-arm.tar.bz2 on<BR>&gt; an xscale pxa270. I've followed the \
install instructions (unarchive,<BR>&gt; set path) and then duplicated bin/armv4 and \
lib/armv4 into<BR>&gt; bin/armv5tel and lib/armv5tel to get rid of "Error: can't \
find<BR>&gt; libjava.so." problem ("uname -m" returns armv5tel instead of \
armv4).<BR>&gt; But now I get an Illegal instruction each time I try to run "java" \
-<BR>&gt; could it be a difference between pxa270 and pxa255 (which i saw \
people<BR>&gt; run blackdown on) that causes this? (also saw an issue in the<BR>&gt; \
bugtracker about this but it was for an older version/i386)</DIV><p>  <hr \
size=1>Yahoo! Sports<br>  <a \
href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=33539/*http://football.fantasysports.yahoo.com?ovchn=YAH&ovcpn=Integration&ovcrn=Mail+footer&ovrfd=YAH&ovtac=AD \
">Rekindle the Rivalries. Sign up for Fantasy Football</a>


----------------------------------------------------------------------
To UNSUBSCRIBE, email to java-linux-request@java.blackdown.org
with a subject of "unsubscribe". Trouble? Contact karl@blackdown.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic