

After introducing a binding variable, you don’t need additional variables or explicit casting, which also makes your code safe and concise to write and read. The usage of the instanceof operator is simplified with Pattern Matching for instanceof. Don’t worry – the compiler does the heavy lifting to add the methods required to make the class work for you. By using just a single line of code, you can model your data with ease. With Records, you get a compact syntax for declaring data classes.


It also adds Switch Expressions as a Standard language Feature. It includes Records and Pattern Matching for instanceof as preview language features, and Text Blocks in the second preview. With this is mind I think I will skip IntelliJ on the Pi (as expected).Java 14 packs a lot of Java language features for you. On the Pi the small HelloWorld sample takes nearly 31 seconds to compile and run, compared to nearly 3 seconds on my MacBook. So how does it run (again noting the note from the beginning of my blog post about minimum specification)? It is useable but it’s also slow. Once the idea.sh script has run it will have installed IntelliJ and placed a shortcut into the “Programming” menu of Raspbian. With the download tar extracted its a case of navigating the /bin/ folder and running the idea.sh bash script. This is compressed folder archive which will need expanding (extracting the files) once downloading. For Raspbian I would recommend downloading the application in the default.

I’m going to be using the Community edition of IntelliJ IDEA as its free and is what i use on my Macbook. IntelliJ can be used on Windows, Mac OS and Linux and can be downloaded from IntelliJ IDEA download screen I know this is not going to be the best of IDE experiences but was interested in how it would play out. Note: IntelliJ has a minimum recommended spec of 2GB RAM, the Raspberry Pi3 has 1GB RAM. I want to look at using IntelliJ on the Pi as I like it on my Macbook and want to see if the same IDE experience could be available on my Pi. The Raspbian OS (Stretch) comes with a Java IDE called BlueJ, which is designed around Java and supporting beginners to Java. However I also want to look at using Java on my Raspberry Pi. With my adventures looking at Java I have also been using a different IDE (Integrated Development Environment) called IntelliJ on my Macbook.
