NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Java for NetBSD



On Sun, 5 Apr 2020 at 17:59, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> 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.

I forgot to mention that I do not have installed any Linux emulation -
this is pure java execution under NetBSD.

>
> On Sun, 5 Apr 2020 at 16:32, Greg Troxel <gdt%lexort.com@localhost> wrote:
> >
> > "John m0t" <j0hnb%inbox.lv@localhost> 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.
>
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index