How to use java based software on haiku?

I found the netbeans ide already available on haikudepot despite it’s an older version, so I tried it first. When it’s installing, it also installed the openjdk8 dependency. After it’s done, I clicked to run and it failed with: The application: [very long path indeed but it’s basically java] has encountered an error which prevent it from continuing… and I have to choose to Terminate it.

I go to the terminal I tried java -version and and bash said: java: command not found.

This system is haiku x86 installed on VirtualBox.

Update: the same issue on haiku x86_64.

1 Like

Solved: install the -default package, it will create the appropriate symlinks for us.

OK. I will go to this thread to continue the discussion.