Re: Which jdk port should I use?

2008-03-06 Thread Kris Kennaway

Jonathan Chen wrote:

On Wed, Mar 05, 2008 at 10:05:34PM -0500, Steven Friedrich wrote:

I have two installed:
diablo-jdk-1.5.0.07.01_9
jdk-1.5.0.14p8,1


The native JDK is the one to use in most cases; eg: if you're
running FreeBSD-7, eclipse won't work properly unless you're using the
native jdk.


I assume you mean native in the sense of compiled for FreeBSD 7 
instead of FreeBSD 6.  They are both native FreeBSD binaries :-)


But yes, you should be using the self-compiled jdk on FreeBSD 7 for 
other reasons: it has better performance.  Once a 7.x build of diablo is 
released you can switch to that.


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


Re: Which jdk port should I use?

2008-03-06 Thread Steven Friedrich
On Thursday 06 March 2008 05:42:05 am Kris Kennaway wrote:
 Jonathan Chen wrote:
  On Wed, Mar 05, 2008 at 10:05:34PM -0500, Steven Friedrich wrote:
  I have two installed:
  diablo-jdk-1.5.0.07.01_9
  jdk-1.5.0.14p8,1
 
  The native JDK is the one to use in most cases; eg: if you're
  running FreeBSD-7, eclipse won't work properly unless you're using the
  native jdk.

 I assume you mean native in the sense of compiled for FreeBSD 7
 instead of FreeBSD 6.  They are both native FreeBSD binaries :-)

 But yes, you should be using the self-compiled jdk on FreeBSD 7 for
 other reasons: it has better performance.  Once a 7.x build of diablo is
 released you can switch to that.

 Kris

Ok, so I pkg_deinstall diablo-jdk and tried to install jdk15.
It errors out (I had previously had installed this long ago and didn't have 
any problems tracking it with csup/portupgrade).
WARNING: Your are not building SPONSORS workspace from
 the control build. This will result in a development-only
 build of the J2SE workspace, lacking the installation bundles

WARNING: Your FreeBSD installation is not valid for building a
   the J2SDK. You must be using FreeBSD 4.1[01]|5.[345]|6.*.
   Your release is 7.0-RELEASE

ERROR: BOOTDIR does not point to a valid Java 2 SDK
   Check that you have access to
   /usr/local/diablo-jdk1.5.0/bin/java
   and/or check your value of ALT_BOOTDIR.

Exiting because of the above error(s).

gmake: *** [post-sanity] Error 1
*** Error code 2

Stop in /usr/ports/java/jdk15.

And why does it reference diablo?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-06 Thread Steven Friedrich
On Thursday 06 March 2008 12:28:33 pm you wrote:
 its there any JDK for amd64 arch from sun ?

 On Fri, Mar 7, 2008 at 1:19 AM, Steven Friedrich [EMAIL PROTECTED]

 wrote:
  On Thursday 06 March 2008 05:42:05 am Kris Kennaway wrote:
   Jonathan Chen wrote:
On Wed, Mar 05, 2008 at 10:05:34PM -0500, Steven Friedrich wrote:
I have two installed:
diablo-jdk-1.5.0.07.01_9
jdk-1.5.0.14p8,1
   
The native JDK is the one to use in most cases; eg: if you're
running FreeBSD-7, eclipse won't work properly unless you're using
the native jdk.
  
   I assume you mean native in the sense of compiled for FreeBSD 7
   instead of FreeBSD 6.  They are both native FreeBSD binaries :-)
  
   But yes, you should be using the self-compiled jdk on FreeBSD 7 for
   other reasons: it has better performance.  Once a 7.x build of diablo
   is released you can switch to that.
  
   Kris
 
  Ok, so I pkg_deinstall diablo-jdk and tried to install jdk15.
  It errors out (I had previously had installed this long ago and didn't
  have
  any problems tracking it with csup/portupgrade).
  WARNING: Your are not building SPONSORS workspace from
  the control build. This will result in a development-only
  build of the J2SE workspace, lacking the installation bundles
 
  WARNING: Your FreeBSD installation is not valid for building a
the J2SDK. You must be using FreeBSD 4.1[01]|5.[345]|6.*.
Your release is 7.0-RELEASE
 
  ERROR: BOOTDIR does not point to a valid Java 2 SDK
Check that you have access to
/usr/local/diablo-jdk1.5.0/bin/java
and/or check your value of ALT_BOOTDIR.
 
  Exiting because of the above error(s).
 
  gmake: *** [post-sanity] Error 1
  *** Error code 2
 
  Stop in /usr/ports/java/jdk15.
 
  And why does it reference diablo?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]

Sorry Mohamad, I'm not the expert on java on freebsd.
I sent this to the list so you'll get an answer.

My question was which port should I use and so far, it appears the answer is 
jdk15, but it appears it depends on diablo-jdk.

You might take a look at:
http://www.freebsdfoundation.org/downloads/java.shtml

But it appears that it only helps as long as your're using prior to FreeBSD 7.
I believe these guys are telling me that if I'm running FreeBSD 7 (and I am), 
that I need to use jdk15 (but it appears that it installs/depends on 
diablo-jdk.

Sorry for the second send, I didn't add questions email address...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-06 Thread Jonathan Chen
On Thu, Mar 06, 2008 at 12:48:49PM -0500, Steven Friedrich wrote:

[...]
 My question was which port should I use and so far, it appears the answer 
 is 
 jdk15, but it appears it depends on diablo-jdk.
 
 You might take a look at:
 http://www.freebsdfoundation.org/downloads/java.shtml
 
 But it appears that it only helps as long as your're using prior to FreeBSD 7.
 I believe these guys are telling me that if I'm running FreeBSD 7 (and I am), 
 that I need to use jdk15 (but it appears that it installs/depends on 
 diablo-jdk.

The diablo-jdk is a build dependancy for the jdk15 port. Once the
jdk15 port has been installed you can safely remove the diablo-jdk.
IIRC, the diablo-jdk on FreeBSD-7 also has a run-dependancy on
misc/compat6 port.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-06 Thread Kris Kennaway

Steven Friedrich wrote:


But it appears that it only helps as long as your're using prior to FreeBSD 7.
I believe these guys are telling me that if I'm running FreeBSD 7 (and I am), 
that I need to use jdk15 (but it appears that it installs/depends on 
diablo-jdk.


You need a java compiler to compile the java compiler.  Don't ask.  Once 
you have compiled jdk15 you can delete the old diablo.


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


Which jdk port should I use?

2008-03-05 Thread Steven Friedrich
I have two installed:
diablo-jdk-1.5.0.07.01_9
jdk-1.5.0.14p8,1

I looked at the freebsd java pages, but I still don't know...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-05 Thread Ivan Rambius Ivanov
Hello,

On Thu, Mar 6, 2008 at 5:05 AM, Steven Friedrich [EMAIL PROTECTED] wrote:
 I have two installed:
  diablo-jdk-1.5.0.07.01_9
  jdk-1.5.0.14p8,1

  I looked at the freebsd java pages, but I still don't know...
It seems that you have diablo jdk and sun jdk installed on your machine.

Diablo JDK is available from the FreeBSD Foundation; Sun JDK is
available, of course from Sun.

From the point of view of the end user or even the Java programmer
there is no differences - both jdk's offer the same public APIs,
compilers, runtime environments, etc.

The Java packages available from the FreeBSD Foundation are based on
the same codebase as any other 1.5 JDK or JRE from Sun. And the Java
binary packages from FreeBSD Foundation are certified. See
http://freebsdfoundation.org/press/20060405-PRrelease.shtml.

Regards
Rambius

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


Re: Which jdk port should I use?

2008-03-05 Thread Jonathan Chen
On Wed, Mar 05, 2008 at 10:05:34PM -0500, Steven Friedrich wrote:
 I have two installed:
 diablo-jdk-1.5.0.07.01_9
 jdk-1.5.0.14p8,1

The native JDK is the one to use in most cases; eg: if you're
running FreeBSD-7, eclipse won't work properly unless you're using the
native jdk.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Power corrupts, Absolute Power is pretty neat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]