Java support
Posted: Sat Jan 30, 2016 8:38 pm
Java support is here, let's go start. My tv is F8000
Download the latest http://www.oracle.com/technetwork/java/ ... index.html for SoftFP ABI on your pc.
Make sure that you have installed java there with exported JAVA_HOME variable
My system is OS X based but the procedure for Linux is the same. Windows procedure it may be the same, but check the documentation.
You can create your JRE configuration to be minimal or full
Navigate to extracted java package and execute.
Minimal:
Full
Compress the output directory
Transfer jre8.zip to your tv /mtd_rwcommon directory.
Extract it's content.
Modify /mnt/etc/rc.sysinit file as following
Java executables path should be added to system path
Java home sys variable should be added into the same file
Restart the TV and test your java installation
minimal configuration
full jre
Download the latest http://www.oracle.com/technetwork/java/ ... index.html for SoftFP ABI on your pc.
Make sure that you have installed java there with exported JAVA_HOME variable
My system is OS X based but the procedure for Linux is the same. Windows procedure it may be the same, but check the documentation.
You can create your JRE configuration to be minimal or full
Navigate to extracted java package and execute.
Minimal:
Code: Select all
./bin/jrecreate.sh --dest jre8 -p compact1
Code: Select all
./bin/jrecreate.sh --dest jre8 --vm all
Code: Select all
zip -r jre8.zip jre8/*
Extract it's content.
Code: Select all
unzip jre8.zip
Java executables path should be added to system path
Code: Select all
export PATH="$DISTROOT/sbin:$DISTROOT/bin:$DISTROOT/usr/bin:$DISTROOT/usr/sbin:$SYSROOT/sbin:$SYSROOT/bin:$SYSROOT/usr/bin:$SYSROOT/usr/sbin:/mtd_rwcommon/jre8/bin/:$PATH"
Code: Select all
export JAVA_HOME="/mtd_rwcommon/jre8/"
minimal configuration
Code: Select all
root@tv:/mnt # java -version
java version "1.8.0_71"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_71-b15, profile compact1, headless)
Java HotSpot(TM) Embedded Minimal VM (build 25.71-b15, mixed mode)
Code: Select all
root@tv:/mtd_rwcommon $ java -version
java version "1.8.0_71"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_71-b15, headless)
Java HotSpot(TM) Embedded Client VM (build 25.71-b15, mixed mode)