Skip to end of metadata
Go to start of metadata

If you want to test Netbeans from lastest source code with Java9, this screenshots tutorial shows step by step how to build Netbeans from source code and test the JShell come from JDK9 with your snippets of code.

All you need is:

  • JDK9 installed on Windows
  • Source code from Github
  • Netbeans 8 installed

Install Netbeans 8 from old page downloads https://netbeans.org/downloads/. Honestly, you only need apache Ant, Java and Github, but with instalation of Netbeans you get all out of the box.

Install JDK9 from http://www.oracle.com/technetwork/java/javase/downloads/index.html

Clone source code of Development Version of Netbeans https://github.com/apache/incubator-netbeans

From GitHub to your local folder

You get source code of Netbeans in the incubator area of Apache Software Foundation

Open nbbuild proyect in your Netbeans 8

 

Right click on build.xml of proyect and run ant build-nozip task

When the taks build successful, the lastest version of Netbeans is ready to run on your Windows. You can run ant tryme and it runs a new Netbeans for you.

But let's go to run it with Java9 and test the new JShell. Go to file etc/netbeans.conf and change the netbeans jdk home

Run Netbeans Windows executable

Double click (be carefull that your antivirus don't block Netbeans)

Verify it runs with JDK9 by default

Play with your JShell !!

If you enjoy using Netbeans and you want to get involved in it, continue reading this page How to Participate

 

  • No labels