DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th July 2008
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default Java JDK

I thought, I would never ask this question in my life but something important came out and I have to have those idiotic Java plug-ins for web-browsers.
I read FAQ about Java installation on OpenBSD and following direction I run
make and read the massage. I did edited mk.conf file with the license acceptance. Then I went to SUN web-site to fetch source files.
Unfortunately the link from the OpenBSD installation message has been removed so I got redirected to some other SUN's download site.
After 1.5 hour of browsing (nice job SUN in making hard to navigate web-site) the only thing I see are source files for OpenSolaris and Linux.

Are there source files and patches for OpenBSD or that is the thing of the past.
I know that starting November 1st there would be binary packages for OpenBSD but in my understanding they will not contain browsers plug-ins.
I also noticed that FreeBSD binary packages despite claims about the new agreement are two years old and require 6.1 of FreeBSD to run.

Thanks
Reply With Quote
  #2   (View Single Post)  
Old 11th July 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Default

Read the messages
if missed
read the Makefile (this for 1.5)
MASTER_SITES= http://www.java.net/download/tiger/tiger_u14/
__________________
da more I know I know I know nuttin'
Reply With Quote
  #3   (View Single Post)  
Old 11th July 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by Oko View Post
Are there source files and patches for OpenBSD or that is the thing of the past.
The files required to build JDK1.6 can be found in both:
  • /usr/ports/devel/jdk/1.6/Makefile
  • /usr/ports/devel/jdk/1.5/Makefile
Note that 1.5 is required to build 1.6.

If you are also wanting to enable the JRE plugin, see /usr/ports/devel/JDK/1.6/pkg/MESSAGE-jre which tells where the symlink to libjavaplugin_oji.so needs to be placed.
Reply With Quote
  #4   (View Single Post)  
Old 11th July 2008
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Of course. Stupid ME.
Reply With Quote
  #5   (View Single Post)  
Old 11th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Quote:
Originally Posted by Oko View Post
I also noticed that FreeBSD binary packages despite claims about the new agreement are two years old and require 6.1 of FreeBSD to run.

I have the 6.1/i386 packages from the freebsd foundation and have never had any problems with the JDK or JRE, other then a dislike for compling Java code.

I have however never gotten or put much effort into getting the browser plugins if any workin'
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #6   (View Single Post)  
Old 11th July 2008
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by TerryP View Post
I have the 6.1/i386 packages from the freebsd foundation and have never had any problems with the JDK or JRE, other then a dislike for compling Java code.

I have however never gotten or put much effort into getting the browser plugins if any workin'
Is that PBI (PCBSD) for Java usable or it is there just for cosmetic purposes.
Those Java binaries for FreeBSD 6.1 should work on all versions till 6.3.
Personally as I said earlier I though I would never have to ask how to compile Java as I can not stand Java to put it mildly. Actually as much as I like SUN hardware I could not care less for their software but unfortunately I have to use it on daily basis (MySQL, OpenOffice, and now Java)
Reply With Quote
  #7   (View Single Post)  
Old 12th July 2008
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

I have plug-ins. Compilation was about 1.5 hour but I have 3GB or RAM:-)
Reply With Quote
  #8   (View Single Post)  
Old 12th July 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by Oko View Post
...but I have 3GB or RAM:-)
Although this may be a factor, a larger determinant of how much time building the JDK will require is prior installation of supporting packages.
Reply With Quote
  #9   (View Single Post)  
Old 13th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Quote:
Originally Posted by Oko View Post
Is that PBI (PCBSD) for Java usable or it is there just for cosmetic purposes.
Those Java binaries for FreeBSD 6.1 should work on all versions till 6.3.
Personally as I said earlier I though I would never have to ask how to compile Java as I can not stand Java to put it mildly. Actually as much as I like SUN hardware I could not care less for their software but unfortunately I have to use it on daily basis (MySQL, OpenOffice, and now Java)

I wouldn't know, I have not used the PBI files since, heck probably PC-BSD 1.1 or older.

Over 'differences' of opinion about PBI and more then a few sour feelings on the matter, I don't use PBI files often: the last was installing Firefox PBI after flock broke to avoid compile times and package dependency lines.


What part of Java causes you the most trouble?


I've found the language itself quite logical, just the sun toolset and associated infurstructure to be a p.i.t.a. to put to work.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 13th July 2008
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by TerryP View Post


What part of Java causes you the most trouble?
None. I do not use Java expect idiotic plug-ins because it is against my religion.

Some idiot from the University I am collaborating with (I have to state for the record that sys admin at Math Department the University of Arizona where I work are much smarter than that) came with an idea that a specific tool can be accessed only through Java plug-ins. As a consequence I had to have them no questions asked. Do you really think I would install them?
Reply With Quote
Old 13th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Heh, only if they twisted your arm into needing them :-P

That's partly why I asked.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's your relashionship with Java? ephemera Programming 26 21st November 2008 07:07 AM
java compiler bsdnewbie999 OpenBSD Packages and Ports 8 9th August 2008 12:18 PM
How to java on FreeBSD? graudeejs FreeBSD Ports and Packages 13 9th July 2008 06:41 PM
Firefox3 & Java DarkEnergy FreeBSD General 3 5th July 2008 11:17 PM
FBSD & Java DarkEnergy FreeBSD General 2 4th July 2008 03:50 AM


All times are GMT. The time now is 09:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick