Re: Java and FreeBSD

2008-11-05 Thread Chad Perrin
On Mon, Nov 03, 2008 at 11:28:10AM -0800, mdh wrote:
 
 My advice is to install the following ports in the following order:  
 
 java/jdk16
 java/eclipse-devel

Does licensing BS still require out-of-band agreement to EULAs on the Sun
website in 7.x, or has that finally changed for the better?

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Quoth Albert Camus: An intellectual is someone whose mind watches
itself.


pgpli2IBgla7u.pgp
Description: PGP signature


Re: Java and FreeBSD

2008-11-03 Thread mdh
--- On Mon, 11/3/08, Spiros Papadopoulos [EMAIL PROTECTED] wrote:
 From: Spiros Papadopoulos [EMAIL PROTECTED]
 Subject: Java and FreeBSD
 To: freebsd mailing list freebsd-questions@freebsd.org
 Date: Monday, November 3, 2008, 1:26 PM
 Hi,
 
 It is now more than eight months that i am not able to use
 FreeBSD. FreeBSD
 
 version 6.1 was the last.
 
 Back then trying to work with Eclipse and java on FreeBSD
 was quite tricky.
 
 Can anyone please tell me what the current status is? For
 example can i use
 
 ports to install everything and start working with Eclipse
 straight away...?
 Or
 
 is Linux a better option?
 
 What versions of FreeBSD and Eclipse would you recommend?
 Please feel free
 
 to provide with as much information as you want.

My advice is to install the following ports in the following order:  

java/jdk16
java/eclipse-devel

eclipse-devel worked much better for me than did java/eclipse.  I also had 
trouble without getting jdk16 installed first.  It's been a while now, so I'm 
not exactly sure what all, but I think if you install those ports in that 
order, Eclipse will work for you.  You may also want to make a symlink from 
/usr/local/eclipse to /usr/local/eclipse-devel - this allows the Eclipse plugin 
ports to install properly.  Without it, they will not.  I've got several (Perl, 
Ruby, and a couple of others) installed from ports against eclipse-devel and 
they work fine once that symlink is in place.  

- mdh



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java on FreeBSD

2003-09-27 Thread Khairil Yusof
On Fri, 2003-09-26 at 03:01, Kai Grossjohann wrote:

 Maybe it's the wrong way to get Java on a FreeBSD system?
 Or, even more likely, I did something stupid.

CC_VER = gcc (GCC) 3.3.1 [FreeBSD] Copyright (C) 2003 Free Software 

You're running FreeBSD5.1-CURRENT which is using gcc 3.3.1 which has
issues with compiling jdk14.

Patchset 4 is supposed to be out soon (around 4.9 release I think) and
this is supposed to fix this problem as well as add applet support.

You can help by trying the experimental (current) patchset and reporting
bugs to java@, especially if you're interested in getting java to run on
current.


--
Optimized, readable, on time; Pick any two. 

FreeBSD 5.1-CURRENT i386 
2:20AM up 1 day, 5:48, 3 users, load averages: 0.44, 0.38, 0.42


signature.asc
Description: This is a digitally signed message part


Re: Java on FreeBSD

2003-09-25 Thread Dragoncrest

  Maybe it's the wrong way to get Java on a FreeBSD system?
  Or, even more likely, I did something stupid.
I can't build it either (on 5.1), but I'm getting different
symptoms.
Actually, the only one I've gotten to build, install, and run 
correctly is the 1.3 version.  I have yet to get 1.4 to even build.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java on FreeBSD

2003-09-25 Thread Erick Smith
I actually got 1.4 to build a while ago, I'm not sure if it does now.  Bear in 
mind though, 1.4 is considered alpha AFAIK.  I couldn't get my java stuff to 
execute properly, so I'm back on the linux-sun version :(


On Thursday 25 September 2003 09:07 pm, Dragoncrest wrote:
Maybe it's the wrong way to get Java on a FreeBSD system?
Or, even more likely, I did something stupid.
 
  I can't build it either (on 5.1), but I'm getting different
 symptoms.

  Actually, the only one I've gotten to build, install, and run
 correctly is the 1.3 version.  I have yet to get 1.4 to even build.

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java on FreeBSD?

2003-02-28 Thread Adam
On Fri, 2003-02-28 at 12:21, Sam Post wrote:
 Hello,
 
 I've been trying to get Matlab to work on FreeBSD for a few days now, but I'm not 
 sure if the error is in the FreeBSD implementation of Java or in Matlab itself. 
 Matlab is technically not supposed to run on FreeBSD but I've been to websites where 
 people claim they have it running via Linux compatibility libraries (linuxcompat)
 
 I guess I really have two questions: 1) does Java work on FreeBSD (and how), 2) does 
 Matlab work on FreeBSD (and how?)
 
 Any information you have would be worth it's weight in gold (fortunately for my 
 pocketbook, information is pretty light!) so thanks in advance!
 
 I've attached some error reports, maybe they'll be useful...
 
 Sam Post
Matlab will work on FreeBSD (using Linux binary support), but you have
to muck around with the startup scripts to make it believe FreeBSD is a
supported platform. 

As for Java, you obviously have discovered that the native JDK in
FreeBSD 4.x doesn't work very well. My suggestion would be to install
the Linux JDK, and create some fancy symlinks if Matlab doesn't allow
for specifying where the java executable is located.

Hope this helps.

-- 
Adam [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Java on FreeBSD 4.5

2002-10-22 Thread Kaarthik Sivakumar

 ss == sonam singh [EMAIL PROTECTED] writes:
ss do u need precompiled binaries of jdk1.3 if
ss successfuly compiled the jdk1.3 on my FreeBSD4.5 

ss regards
ss Sonam Singh
ss [EMAIL PROTECTED]

No, I would prefer to compile it on my own. But thanks. I got another
suggestion, which was to install netscape 7 that comes with all the
java and flash bells and whistles as plugins. I got that and it seems
ok to me. So I would likely continue with that rather than try and
compile all this.

Kaarthik

ss --- Kaarthik Sivakumar [EMAIL PROTECTED]
ss wrote:
 Hi
 
 I am trying to set up Java on FreeBSD 4.5. I read
 through:
 
 http://www.freebsd.org/java/install.html
 
 But this didnt work for me. I found this:
 
 
ss http://www.onlamp.com/pub/a/bsd/2002/09/05/FreeBSD_Basics.html?page=3
 
 from the FreeBSD pages. But this doesnt work either.
 I get compilation
 errors as follows. Whats wrong? What did I do? I
 installed
 www/mozilla-headers also since that seemed to have
 npapi.h but that
 npapi.h was installed into
 /usr/X11R6/include/mozilla/plugin/ and so
 was never discovered. Any help is appreciated. Could
 you please CC me
 as I am not subscribed to this list (yet).
 
 ,
 | gcc -Wall -c -I/usr/local/include -O -D_GNU_SOURCE
 -DXP_UNIX
 | -DVERSION=\1.3. 1-p7-aswini-021003-20:52\
 -DDATE=\Oct-03-2002\
 | -DARCH=\i386\ -DRAPTOR_ API
 -DNEW_STREAMING_API
 | -I../../oji-plugin/include/solaris/navig4/nspr
 -I../../o
 | ji-plugin/include/solaris/navig4/xpcom
 | -I../../oji-plugin/include/solaris/navig4 /caps
 | -I../../oji-plugin/include/solaris/navig4/js
 | -I../../oji-plugin/include/so laris/navig4/raptor
 | -I../../tmp/bsd/i386/CClassHeaders
 | -I../../oji-plugin/include/solaris/navig4/oji
 | -I../../oji-plugin/include/solaris/navig4/plugin
 | -I../../oji-plugin/src/motif/common
 | -I../../oji-plugin/src/motif/navig4
 -I/usr/X11R6/inclu de
 | -I../../oji-plugin/src/motif/badapter
 | -I../../../../src/share/javavm/export
 | -I../../../../src/solaris/javavm/export
 -I/usr/X11R6/include
 | -I../../oji-plugin/ src/share -o
 ../../tmp/bsd/i386/stubs.o
 | ../../oji-plugin/src/motif/common/stubs. c
 | 
 | In file included from
 ../../oji-plugin/src/motif/common/stubs.c:29:
 | /usr/X11R6/include/npapi.h:1: #error
 | /tmp/qt-3.0-reggie-21297/qt/extensions/nsp
 lugin/src/npapi.h must be
 | provided by Netscape
 /usr/X11R6/include/npapi.h:2: #error This file
 | is just a placeholder. Please see the
 documentation
 | /usr/X11R6/include/npapi.h:3: #error to learn how
 to obtain the real
 | file
 | 
 | In file included from
 ../../oji-plugin/src/motif/common/stubs.c:30:
 | /usr/X11R6/include/npupp.h:1: #error
 | /tmp/qt-3.0-reggie-21297/qt/extensions/nsp
 lugin/src/npupp.h must be
 | provided by Netscape
 /usr/X11R6/include/npupp.h:2: #error This file
 | is just a placeholder. Please se e the
 documentation
 | /usr/X11R6/include/npupp.h:3: #error to learn how
 to obtain the real
 | file gmake[1]: *** [../../tmp/bsd/i386/stubs.o]
 Error 1 gmake[1]:
 | Leaving directory
 `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/bu
 | ild/solaris' gmake: *** [plugin-all] Error 1
 | *** Error code 2
 | 
 | Stop in /usr/ports/java/jdk13.
 | User: 1181.281u Kernel: 270.461u Time: 31:25.82
 CPU: 76.9% (2911k/27674k) 8409+1
 | 315io
 | Exit 1
 | 
 | /usr/X11R6/include/npupp.h:2: #error This file is
 just a placeholder.
 | Please see the documentation
 /usr/X11R6/include/npupp.h:3: #error
 | to learn how to obtain the real file gmake[1]:
 ***
 | [../../tmp/bsd/i386/stubs.o] Error 1 gmake[1]:
 Leaving directory
 |
 `/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/bu
 ild/solaris'
 | gmake: *** [plugin-all] Error 1
 | *** Error code 2
 | 
 | Stop in /usr/ports/java/jdk13.
 | User: 1181.281u Kernel: 270.461u Time: 31:25.82
 CPU: 76.9% (2911k/27674k) 8409+1
 | 315io
 | Exit 1
 `
 
 Kaarthik
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


ss __
ss Do you Yahoo!?
ss Y! Web Hosting - Let the expert host your web site
ss http://webhosting.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message