All I needed to run idea.sh under NetBSD-current amd64 with openJDK 11 was $ PATH=/usr/pkg/java/openjdk11/bin:$PATH; export PATH $ PATH=/opt/idea-IC-193.6911.18/bin:$PATH $ idea.sh
You get some error messages or warnings, but the interface comes up; as I have no idea (no pun intended) of java programming, I can't say if it works. On Sun, 5 Apr 2020 at 16:32, Greg Troxel <g...@lexort.com> wrote: > > "John m0t" <j0...@inbox.lv> writes: > > > As far as I know the java in *NetBSD* is the same file/kind as Linux. > > More or less. > > > I have downloaded the jetbrains intellij which ships with openjdk. I went > > inside the openjdk directory. > > I don't follow "ships with openjdk". Do you mean "includes a copy of > openjdkN already built for GNU/Linux which assumes some particular set > of Linux libraries"? > > > Under sh shell {./java} command will return *not found* and under bash > > shell I get > > *no such file or directory*. the said file is executable. the {ls} command > > on that directory shows the java file. > > I'd use file, ldd, and more. I find that /usr/pkg/openjdk8-java is a > shell script. -- ----