This shows you the differences between two versions of the page.
tutorials:ct1:development:bulid_a_java_development_environment_for_cubietruck [2013/10/28 18:12] parker parker |
tutorials:ct1:development:bulid_a_java_development_environment_for_cubietruck [2013/12/23 14:50] (current) |
||
---|---|---|---|
Line 30: | Line 30: | ||
<code bash> | <code bash> | ||
$mkdir /parker | $mkdir /parker | ||
- | $tar zxvf jdk-8-ea-b112-linux-arm-vfp-hflt-16_oct_2013.tar.gz /parker | + | $tar zxvf jdk-8-ea-b112-linux-arm-vfp-hflt-16_oct_2013.tar.gz -C /parker |
</code> | </code> | ||
Enter the bin direcory and test the command. | Enter the bin direcory and test the command. | ||
Line 58: | Line 58: | ||
$vi /etc/profile | $vi /etc/profile | ||
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$JAVA_HOME/bin" | PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$JAVA_HOME/bin" | ||
- | export CLASSPATH=.:$JA VA_HOME/lib:$JAVA_HOME/jre/lib | + | export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib |
- | export JAVA_HOME=/parker/jdk.1.8.0(Set your own path) | + | export JAVA_HOME=/parker/jdk.1.8.0 //(Set your own path) |
</code> | </code> | ||
{{:jdk4.png?|ct-cubieboard}} | {{:jdk4.png?|ct-cubieboard}} |