ok so i get this error
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre"
now im aware that i need to remove 'jre' off the end of this path there is hundreds of questions already solved on here with this issue. i.e use /etc/profile
or /etc/enviroment
and change the JAVA_HOME path the source /etc/enviroment
to refresh it. Ive done this and can check it worked with echo $JAVA_HOME
returning the correct path. But when i run buildozer again i get the same issue (its like the path isnt updated somewhere maybe).
Finally ive tried to run:
sudo apt-get install default-jre
and
sudo apt-get install default-jdk
but both return an error saying:
Loading repository data...
Reading installed packages...
'default-jdk' not found in package names. Trying capabilities.
No provider of 'default-jdk' found.
Resolving package dependencies...
Nothing to do.
So im not sure what i should be doing, i must be missing something obvious that i cant see, sorry interent but im stuck :(