View Single Post
  #2   (View Single Post)  
Old 17th May 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by SunSpyda View Post
I spotted both the Java compiler and Netbeans on the i386 4.4 package collection. I couldn't see Java SE though.
As you later saw, the JDK is under devel/jdk, & yes, this what is also known as Java Standard Edition.
Quote:
If I were to install Netbeans, would OpenBSD install the rest of Java SE as a dependency, or will I have to get it manually?
If you install NetBeans, JDK 1.5 is required as a dependency. Unfortunately, JDK 1.5 is not available as a package as can be seen in Section 8.3:

http://openbsd.org/faq/faq8.html#Programming

If you are interested, here is how this can be determined:
  • Of course, OpenBSD users should install the relevant packages over compiling ports unless there are specific reasons to compile ports as explained in Section 15.1:

    http://openbsd.org/faq/faq15.html#Intro

    Nevertheless, the tools needed to answer your question are part of the ports tree itself.
  • The manpage to ports(7) gives short descriptions to the make targets:
    • print-build-depends
    • print-run-depends
    These targets are self-explanatory; they list the dependencies needed for building & execution.
  • I run 4.5-current, so the exact versions will be different than what you will have on 4.4, but the process is the same.

    print-run-depends with the /usr/ports/devel/netbeans lists the following dependencies:
    Code:
    This port requires package(s) "javaPathHelper-0.3 libiconv-1.13 openmotif-2.3.0p0 jdk-1.5.0.16p0" to run.
So to answer the original question, you will need to compile the JDK 1.5 port yourself in order to install or run NetBeans.
Reply With Quote