Java Programming on pi - Raspberry Pi Forums
hello starting raspberry pi installed java how can progarm on pi?
if have up-to-date raspbian has got pre-installed oracle's fast arm java 8. can check in terminal via: java -versiondaansander wrote:hello starting raspberry pi installed java how can progarm on pi?
mentioned because didn't java version installed, , example openjdk java nice not fast oracle's java.
can create java source file text editor (leafpad or mousepad etc, java editor jedit more comfortable), save file, example "myprogram.java", , use java compiler in terminal compile source file java machine-code (byte-code):
code: select all
javac myprogram.java
code: select all
java myprogram
since both ides written in java, can download 1 of zip archives (in case of netbeans, select under download "platform: os independant zip"), unpack , run ide directly without installation. example in case of netbeans, start via "sh bin/netbeans" or give file runable rights , double click it.
luck!
raspberrypi
Comments
Post a Comment