JDK 11 make java command can directly run source code like other scripting language or interpreter. Lets say we have a java source file called hello.java as follow.

A Computer Person Journey
JDK 11 make java command can directly run source code like other scripting language or interpreter. Lets say we have a java source file called hello.java as follow.

I have some disappointment on netbeans 11, because plugin activation problems i face. Netbeans 12 i feel different, no errors on plugin activation. Beginning my trials for Netbeans 12 LTS (yes its a long term support version), i downloaded a platform independent zip file and extract it on my home folder. I saw on the website that older version no longer supported, including Netbeans 11 ???
This trials run on OpenBSD 6.7 laptop. Open terminal and cd to netbeans12/bin. Execute ./netbeans& [enter]. The Netbeans 12 run with JDK 8 just fine (oldest JDK version supported by Netbeans 12). First time first , activate all installed plugin to see if any errors happen. No errors, its good down the road. Right away Netbeans 12 do a task of downloading repository, hmmm. This downloading stuff is new and it takes long time to complete, i leave it over night, maybe just my slow old laptop cant handle it :). So far its a positive experience and i will say its a good job to the developers.
To install netbeans 11.3 do “pkg install netbeans” on your root terminal. It will take time to download 292MB netbeans + 60MB openjdk8 packages. After done installing dont forget to set PATH and JAVA_HOME environment variables. Edit your .profile file on home directory and add /usr/local/openjdk8 to “PATH=xxx:/usr/local/openjdk8; export PATH” statement. Also create JAVA_HOME=/usr/local/openjdk8; export JAVA_HOME.

jEdit is a java based editor for programmer, so it will run on many platform : windows, linux, mac.
First download jEdit installer from the web.

I choose to download java based installer and start it on my windows based laptop.

After a while a dialog will show up.

if you get low memory error when running java program then try to look heap size flags with this command.
java -XX:+PrintFlagsFinal -version | grep HeapSize

To see all JVM flags just run the command without the grep.
im using h2 database, a pure java database to some of my project.
i like to put h2 database file to a folder under my home.
i also create a file to start the server. Dont forget to chmod the file as executable.
see screen capture below for detail

try to start h2 server as below

h2 server process will automatically call default browser showing login screen

try to connect using tcp method to localhost

its work !
To get java we can install jdk. OpenBSD 6.1 have 2 packages of jdk which is 1.7 and 1.8.
To install jdk package do pkg_add jdk then choose which version you want to install.