range Pi User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
251
public class hello_world
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
d. Then compile and run hello_world.java
orangepi@orangepi:~$ javac hello_world.java
orangepi@orangepi:~$ java hello_world
Hello World!
3.25.
QT installation method
1) Use the following script to install QT5 and QT Creator
orangepi@orangepi:~$ install_qt.sh
2) The QT version number will be automatically printed after installation
a. Ubuntu20.04 comes with QT version 5.12.8
orangepi@orangepi:~$ install_qt.sh
......
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/aarch64-linux-gnu
b. Ubuntu22.04 comes with QT version 5.15.3
orangepi@orangepi:~$ install_qt.sh
......
QMake version 3.1
Using Qt version 5.15.3 in /usr/lib/aarch64-linux-gnu
c. Debian11 comes with QT version 5.15.2
orangepi@orangepi:~$ install_qt.sh
......
QMake version 3.1
Using Qt version 5.15.2 in /usr/lib/aarch64-linux-gnu
d. Debian12 comes with QT version 5.15.8
orangepi@orangepi:~$ install_qt.sh