I am having a problem installing jvm. I have made all the steps in the folowing http://processors.wiki.ti.com/index.php/How_to_add_a_JVM but i receive the message in the terminal:
-sh: /home/root/ejre1.7.0_51/bin: Permission denied
root@am335x-evm:~# java -version
-sh: java: not found
This is how the file /etc/profile looks like:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
PATH="/usr/local/bin:/usr/bin:/bin"
EDITOR="/bin/vi" # needed for packages like cron
test -z "$TERM" && TERM="vt100" # Basic terminal capab. For screen etc.
if [ ! -e /etc/localtime -a ! -e /etc/TZ ]; then
TZ="UTC" # Time Zone. Look at http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html
# for an explanation of how to set this to your local timezone.
export TZ
fi
if [ "`id -u`" -eq 0 ]; then
PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
fi
if [ "$PS1" ]; then
# works for bash and ash (no other shells known to be in use here)
PS1='\u@\h:\w\$ '
fi
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
PATH=$PATH: /home/root/ejre1.7.0_51/bin
export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM
umask 022
The jvm I installed is ejre-7u51-fcs-b13-linux-arm-vfp-hflt-client_headless-18_dec_2013.gz, I extracted it in the rootfs partition on home/root/ejre1.7.0_51/. It is possible it wasn't extracted 100% because on the rootfs there is 0 free space. How can i free more space on the SD card and use it for Linux? Thank u.