1

Of the preinstalled programming tools on raspbian all of them work except for the java IDEs(bluej and greenfoot). I've scoured the internet but have found nothing. really need to code in java for a project on it. It says its loading for like a minute but stops loading and never actually opens it. No errors are shown and its a on a 2014 model A+ v 1.1 running raspbian. Any idea how I can fix this problem thanks.

  • 1
    Welcome. You are more likely to get help if you go into detail about exactly what happens, including the verbatim text of any error message. – goldilocks Dec 7 '19 at 15:25
0

I'm not really sure current Java versions are supported on this older Pi-board. Just to make sure, open a terminal, and type "java -version" to make sure Java can run. You should get something like:

$ java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-post-Raspbian-5)
OpenJDK Server VM (build 11.0.3+7-post-Raspbian-5, mixed mode)

If this is OK, you can install Visual Studio Code. VSC is a great tool for Java but is only available as 64bit version on the official site. But you can instal an earlier version of VSC which is 32-bit and compiled for the Pi. You can install in three easy steps:

$ cd /home/pi/
$ wget https://github.com/stevedesmond-ca/vscode-arm/releases/download/1.28.2/vscode-1.28.2.deb
$ sudo apt install ./vscode-1.28.2.deb

To work with Java in VSC, you need some extra extensions. Click on the "Extensions" button in the left bar. With the search box on top you can find extension in the Marketplace. "Language Support for Java" by RedHat is the most important one you should install.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.