I think the problem is you're using the HardFP version, which requires some
libraries that the image does not contain. Make sure you use a SoftFP
version. I've updated the wiki to reflect that you should use the SoftFP
version.

Try using this version from the Oracle website linked on the wiki:
ejre-7u60-fcs-b19-linux-arm-vfp-sflt-client_headless-07_may_2014.tar.gz


Anthony Gutierrez
http://web.eecs.umich.edu/~atgutier


On Wed, Jul 30, 2014 at 4:57 PM, jerry yin <yinzhuo...@gmail.com> wrote:

> Hi Anthony,
>
> Thanks for your reply. I think so. I just redo installing java on the img
> file again. I followed exactly what is talked in the tutorial. In fact,
> this time I just do copy-paste line by line. Except I replaced sudo cp -a
> /path_to_jre/jre_dir . jre directory with my own. Everything works just
> fine, with no warnings. But when I login using the gem5, just the same
> problem again.
>
> To be concrete, this is what is happening:
>
> root@gem5sim:/usr/lib/jvm/java-7-sun/bin# update-alternatives --config
> java
> There is 1 choice for the alternative java (providing /usr/bin/java).
>
>   Selection    Path                              Priority   Status
> ------------------------------------------------------------
>   0            /usr/lib/jvm/java-7-sun/bin/java   1         auto mode
> * 1            /usr/lib/jvm/java-7-sun/bin/java   1         manual mode
>
>
> root@gem5sim:/usr/lib/jvm/java-7-sun/bin# ls
> java  keytool
> root@gem5sim:/usr/lib/jvm/java-7-sun/bin# ./java
> -bash: ./java: No such file or directory
> root@gem5sim:/usr/lib/jvm/java-7-sun/bin# java
> -bash: /usr/bin/java: No such file or directory
>
> Thank you!
> Jer
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to