Java jdk install and configure on Mac OS
Go to preferences / Java / Installed JREs / Add
Java Home search this route: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Java Name: Java SE 6
nano .bash_profile or /usr/bin/pico .bash_profile;
export JAVA_HOME=$(/usr/libexec/java_home) export JRE_HOME=$(/usr/libexec/java_home) export CLASSPATH=$CLASSPATH:/Users/jojacafe/UOC/tads_cast.jar
echo $CLASSPATH
javac EjercicioPractico1.java or javac tads_cast.jar;. EjercicioPractico1.java
java EjercicioPractico1 or java tads_cast.jar;. EjercicioPractico1