.

Saturday, May 27, 2017

HdroidGUI and java source compile compatibility

I'm using HDroidGUI to develop android aplications, and have problem when compile it on Manjaro, since Manjaro using JDK 8 and HDroidGUI is still not compatible with it, but I found the solution by adding simple parameters to compiler as below:

 -source 1.7 -target 1.7


so before the commandline was :

 javac -d obj -cp $ANDROID_JAR:$HDROIDGUI/hdroidgui.jar -sourcepath src src/$PACKAGE_PATH/*.java

now it become:


 javac -source 1.7 -target 1.7 -d obj -cp $ANDROID_JAR:$HDROIDGUI/hdroidgui.jar -sourcepath src src/$PACKAGE_PATH/*.java

Now I can compile my HdroidGUI again.

:)

No comments:

Setting DeepCool AK400 Digital CPU fan di Manjaro Linux

  Baru rakit PC dan pakai AK400 Digital untuk CPU fannya, setelah install linux ternyata tulisan digitalnya gak tampil, cari-cari di interne...