Re: Native JDK with libthr/libkse

2003-06-04 Thread Narvi

On Mon, 2 Jun 2003, Sheldon Hearn wrote:

 On (2003/06/01 23:53), Narvi wrote:

   The absence of credible Java support in FreeBSD has lost us significant
   penetration in the past, and it would be disastrous if the perceptions
   of the past shaped the future.
 
  credible rather sounds like 'comes on the installation cd, doesn't have
  significantly more bugs than linux/solaris/xxx version' 8-(

 And I think we'll get there.


I would really hope so, its increasingly a barrier.

 I'm currently doing some Java development on a FreeBSD-CURRENT
 workstation using a native jdk14.  It's good enough for testing
 components in a J2EE application server (JBoss), and performance is
 comparable to that seen on an equivalent Windows workstation.


java is not all just j2ee, though its an increasingly important niche. The
developer side is probably in the short term more important than the
number of servers deployed using it.

 Would I use FreeBSD as a production J2EE server reliant on 1.4.1?  No.
 But the time is coming, so don't write FreeBSD off just yet.


oh, i'm not writing off freebsd, its just not as ready in this regard as
competition. Running production j2ee servers is a level above having a
useful / credible java story - it would probably be something you'd do on
5.3 with a good jdk.

 Ciao,
 Sheldon.




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


Re: Native JDK with libthr/libkse

2003-06-02 Thread Narvi


On Sun, 1 Jun 2003, Sheldon Hearn wrote:

 On (2003/06/01 00:50), Daniel Eischen wrote:

   I just built jdk13 a couple of days ago.  No problem whatsoever.  You
   guys must have rotten karma or something.
 
  Did you already have a native JDK installed?

 I built the native 1.4.1 JDK two weeks ago, first without the native JDK
 for bootstrapping, and then with the native JDK.

 Both worked without a hitch.

 If you're having problems with the build, your input would be
 appreciated on freebsd-java.

 The absence of credible Java support in FreeBSD has lost us significant
 penetration in the past, and it would be disastrous if the perceptions
 of the past shaped the future.


credible rather sounds like 'comes on the installation cd, doesn't have
significantly more bugs than linux/solaris/xxx version' 8-(

 FreeBSD now has some seriously committed Java people working hard on the
 port, and it'd be a shame if they didn't get to hear about the problem
 you've encountered.

 Ciao,
 Sheldon.


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


Re: Native JDK with libthr/libkse

2003-06-02 Thread Andy Fawcett
On Sunday 01 June 2003 02:03, Christopher Johnson wrote:
 On Sat, 31 May 2003, Dag-Erling Smorgrav wrote:
  Daniel Eischen [EMAIL PROTECTED] writes:
   What are the above error messages?  Sorry, I've never been able
   to build native java for FreeBSD.
 
  # cd /usr/ports/java/jdk13
  # make install clean
 
  DES

 I disagree.  I recently built jdk13 on Friday and it died on me,
 complaining about needing npapi.h.  The build instructions did
 mention downloading the Sun SDK source and eyesbeyond patchset,
 but did not mention the Qt Netscape Plugin Extension.

Okay, the problem here is (probably) that you have Qt 3.1.2 installed, 
which clobbers a couple of headers that it shouldn't, one of which is 
the npapi.h one.

[EMAIL PROTECTED] is currently working on some patches to the qt31 port to fix 
this. In the meantime, your fix should be good enough

-- 
Andy Fawcett | [EMAIL PROTECTED]
 | [EMAIL PROTECTED]
In an open world without walls and fences,  | [EMAIL PROTECTED]
  we wouldn't need Windows and Gates.  -- anon  | [EMAIL PROTECTED]

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


Re: Native JDK with libthr/libkse

2003-06-02 Thread Sheldon Hearn
On (2003/06/01 23:53), Narvi wrote:

  The absence of credible Java support in FreeBSD has lost us significant
  penetration in the past, and it would be disastrous if the perceptions
  of the past shaped the future.
 
 credible rather sounds like 'comes on the installation cd, doesn't have
 significantly more bugs than linux/solaris/xxx version' 8-(

And I think we'll get there. 

I'm currently doing some Java development on a FreeBSD-CURRENT
workstation using a native jdk14.  It's good enough for testing
components in a J2EE application server (JBoss), and performance is
comparable to that seen on an equivalent Windows workstation.

Would I use FreeBSD as a production J2EE server reliant on 1.4.1?  No.
But the time is coming, so don't write FreeBSD off just yet.

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


Re: Native JDK with libthr/libkse

2003-06-02 Thread Daniel Eischen
On Mon, 2 Jun 2003, Sheldon Hearn wrote:

 On (2003/06/01 23:53), Narvi wrote:
 
   The absence of credible Java support in FreeBSD has lost us significant
   penetration in the past, and it would be disastrous if the perceptions
   of the past shaped the future.
  
  credible rather sounds like 'comes on the installation cd, doesn't have
  significantly more bugs than linux/solaris/xxx version' 8-(
 
 And I think we'll get there. 

And I encourage the java developers to let us threads guys know
what they're having problems with.  It has been stated that
jdk is not guaranteed to work with anything but libc_r, so
contact us over at [EMAIL PROTECTED]  We want to see a fast and stable
jdk as much as anyone else does.

-- 
Dan Eischen

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


Re: Native JDK with libthr/libkse

2003-06-01 Thread Daniel Eischen
On Sat, 31 May 2003, Dag-Erling Smorgrav wrote:

 Daniel Eischen [EMAIL PROTECTED] writes:
  What are the above error messages?  Sorry, I've never been able to
  build native java for FreeBSD.
 
 # cd /usr/ports/java/jdk13
 # make install clean

That's what I meant; it didn't work for me.  It got pretty far
through the build but seemed to run out of some sort of resource.
I couldn't tell by the error message what it was, and I don't
have the log anymore.

I'll try again.

-- 
Dan Eischen

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


Re: Native JDK with libthr/libkse

2003-06-01 Thread Eivind Olsen
--On 31. mai 2003 11:22 -0400 Daniel Eischen [EMAIL PROTECTED] wrote:
That's what I meant; it didn't work for me.  It got pretty far
through the build but seemed to run out of some sort of resource.
I couldn't tell by the error message what it was, and I don't
have the log anymore.
The last time I tried to build native Java was on STABLE back in the middle 
of March 2003. This was the java/jdk14 port.
The port stated it needed 1.5GB free disk space in build area! but it 
needed approx. 2.2GB here. And it also needed quite a lot of memory (well, 
a lot doesn't really say much - I had 128MB RAM + 256MB SWAP at that time 
and it wasn't enough). After I gave it enough diskspace and 192MB RAM + 
512MB SWAP it compiled fine.

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


Re: Native JDK with libthr/libkse

2003-06-01 Thread Christopher Johnson
On Sat, 31 May 2003, Dag-Erling Smorgrav wrote:

 Daniel Eischen [EMAIL PROTECTED] writes:
  What are the above error messages?  Sorry, I've never been able to
  build native java for FreeBSD.
 
 # cd /usr/ports/java/jdk13
 # make install clean
 
 DES
 

I disagree.  I recently built jdk13 on Friday and it died on me,
complaining about needing npapi.h.  The build instructions did
mention downloading the Sun SDK source and eyesbeyond patchset,
but did not mention the Qt Netscape Plugin Extension.

(I am not a Java programmer, I just like having the Java plugin
for Mozilla.  I am using 5.1-BETA and mozilla-devel (1.4b).)

The fix:
1) Go to
http://wp.netscape.com/comprod/development_partners/plugin_api/index.html.

2) Navigate to the Unix LiveConnect/Plug-in SDK, and download
the Plugin SDK.  As of today, you can download it directly from:
ftp://ftp.netscape.com/pub/sdk/plugin/unix/unix-sdk-3.0b5.tar.Z

3) Extract the headers to a place where the build can find them
(I put them in /usr/X11R6/include, I suspect there's a more
appropriate place).  The headers are in the
PluginSDK30b5/include/ directory of the tarball.

4) Voila, jdk13 will build.

Chris Johnson
[EMAIL PROTECTED]
Potestatem obscuri lateris necsis.

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


Re: Native JDK with libthr/libkse

2003-06-01 Thread Dag-Erling Smorgrav
Christopher Johnson [EMAIL PROTECTED] writes:
 On Sat, 31 May 2003, Dag-Erling Smorgrav wrote:
  Daniel Eischen [EMAIL PROTECTED] writes:
   What are the above error messages?  Sorry, I've never been able to
   build native java for FreeBSD.
  # cd /usr/ports/java/jdk13
  # make install clean
 I disagree.  I recently built jdk13 on Friday and it died on me,
 complaining about needing npapi.h.  The build instructions did
 mention downloading the Sun SDK source and eyesbeyond patchset,
 but did not mention the Qt Netscape Plugin Extension.
 [...]

I just built jdk13 a couple of days ago.  No problem whatsoever.  You
guys must have rotten karma or something.

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


Re: Native JDK with libthr/libkse

2003-06-01 Thread Daniel Eischen

On Sun, 1 Jun 2003, Dag-Erling Smorgrav wrote:

 Christopher Johnson [EMAIL PROTECTED] writes:
  On Sat, 31 May 2003, Dag-Erling Smorgrav wrote:
   Daniel Eischen [EMAIL PROTECTED] writes:
What are the above error messages?  Sorry, I've never been able to
build native java for FreeBSD.
   # cd /usr/ports/java/jdk13
   # make install clean
  I disagree.  I recently built jdk13 on Friday and it died on me,
  complaining about needing npapi.h.  The build instructions did
  mention downloading the Sun SDK source and eyesbeyond patchset,
  but did not mention the Qt Netscape Plugin Extension.
  [...]
 
 I just built jdk13 a couple of days ago.  No problem whatsoever.  You
 guys must have rotten karma or something.

Did you already have a native JDK installed?

-- 
Dan Eischen

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


Re: Native JDK with libthr/libkse

2003-06-01 Thread Sheldon Hearn
On (2003/06/01 00:50), Daniel Eischen wrote:

  I just built jdk13 a couple of days ago.  No problem whatsoever.  You
  guys must have rotten karma or something.
 
 Did you already have a native JDK installed?

I built the native 1.4.1 JDK two weeks ago, first without the native JDK
for bootstrapping, and then with the native JDK.

Both worked without a hitch.

If you're having problems with the build, your input would be
appreciated on freebsd-java.

The absence of credible Java support in FreeBSD has lost us significant
penetration in the past, and it would be disastrous if the perceptions
of the past shaped the future.

FreeBSD now has some seriously committed Java people working hard on the
port, and it'd be a shame if they didn't get to hear about the problem
you've encountered.

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


Re: Native JDK with libthr/libkse

2003-06-01 Thread Dag-Erling Smorgrav
Daniel Eischen [EMAIL PROTECTED] writes:
 On Sun, 1 Jun 2003, Dag-Erling Smorgrav wrote:
  I just built jdk13 a couple of days ago.  No problem whatsoever.  You
  guys must have rotten karma or something.
 Did you already have a native JDK installed?

No.  I used linux-sun-jdk13 to bootstrap.

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


Native JDK with libthr/libkse

2003-05-31 Thread Norikatsu Shigemura
I am testing about JDK1.4.1/1.3.1 with libthr/libkse using
/etc/libmap.conf.

1. JDK1.3.1/libthr is not work. java is stop.
2. JDK1.3.1/libkse is not work. java is stop.
3. JDK1.4.1/libthr is not work. java is stop.
4. JDK1.4.1/libkse is good work.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$ /usr/local/jdk1.4.1/bin/java -jar /usr/local/jdk1.4.1/demo/jfc/Java2D/Java2Demo.jar
May 31, 2003 10:33:14 AM java.util.prefs.FileSystemPreferences$3 run
WARNING: Could not create system preferences directory. System preferences are 
unusable.
May 31, 2003 10:33:45 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock System prefs.Unix error code 136418560.
May 31, 2003 10:33:45 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't 
get file lock.
May 31, 2003 10:34:15 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock System prefs.Unix error code 136418560.
May 31, 2003 10:34:15 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't 
get file lock.
May 31, 2003 10:34:45 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock System prefs.Unix error code 136418560.
May 31, 2003 10:34:45 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't 
get file lock.
:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

top displays interesting message.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
last pid: 79860;  load averages:  0.35,  0.19,  0.08 up 0+15:56:30  10:37:12
75 processes:  1 running, 74 sleeping
CPU states: 16.6% user,  0.0% nice,  4.2% system,  1.5% interrupt, 77.6% idle
Mem: 276M Active, 80M Inact, 111M Wired, 28M Cache, 60M Buf, 4164K Free
Swap: 4096M Total, 6844K Used, 4089M Free

  PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
  597 root  970   109M99M select   6:37  3.91%  3.91% XFree86
:
79849 nork -84 -203   209M 41368K  0:00  0.00%  0.00% java
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
top is XFree86, bottom is java:-).  And java is no state:-).
Quite light! I cannot believe:-).

java uses libkse.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$ fstat -m /usr/lib/libc_r* /usr/lib/libthr* /usr/lib/libkse*
nork java   79849 mmap /usr 447622 -r--r--r--  112948  r  
/usr/lib/libkse.so.1
nork java   79849 mmap /usr 447622 -r--r--r--  112948  r  
/usr/lib/libkse.so.1
nork java   79849 mmap /usr 447622 -r--r--r--  112948 rw  
/usr/lib/libkse.so.1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Tested on 5.1-BETA.
AthlonXP(1780MHz w/ overclock) x1 + 512MB DDR-SDRAM + ATI Radeon9100.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FreeBSD melfina.ninth-nine.com 5.1-BETA FreeBSD 5.1-BETA #16: Thu May 29 22:17:51 JST 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MELFINA  i386
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Native JDK with libthr/libkse

2003-05-31 Thread Daniel Eischen
On Sat, 31 May 2003, Norikatsu Shigemura wrote:

   I am testing about JDK1.4.1/1.3.1 with libthr/libkse using
   /etc/libmap.conf.
 
   1. JDK1.3.1/libthr is not work. java is stop.
   2. JDK1.3.1/libkse is not work. java is stop.
   3. JDK1.4.1/libthr is not work. java is stop.
   4. JDK1.4.1/libkse is good work.
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 $ /usr/local/jdk1.4.1/bin/java -jar /usr/local/jdk1.4.1/demo/jfc/Java2D/Java2Demo.jar
 May 31, 2003 10:33:14 AM java.util.prefs.FileSystemPreferences$3 run
 WARNING: Could not create system preferences directory. System preferences are 
 unusable.
 May 31, 2003 10:33:45 AM java.util.prefs.FileSystemPreferences 
 checkLockFile0ErrorCode
 WARNING: Could not lock System prefs.Unix error code 136418560.
 May 31, 2003 10:33:45 AM java.util.prefs.FileSystemPreferences syncWorld
 WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: 
 Couldn't get file lock.
 May 31, 2003 10:34:15 AM java.util.prefs.FileSystemPreferences 
 checkLockFile0ErrorCode
 WARNING: Could not lock System prefs.Unix error code 136418560.
 May 31, 2003 10:34:15 AM java.util.prefs.FileSystemPreferences syncWorld
 WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: 
 Couldn't get file lock.
 May 31, 2003 10:34:45 AM java.util.prefs.FileSystemPreferences 
 checkLockFile0ErrorCode
 WARNING: Could not lock System prefs.Unix error code 136418560.
 May 31, 2003 10:34:45 AM java.util.prefs.FileSystemPreferences syncWorld
 WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: 
 Couldn't get file lock.
   :
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

What are the above error messages?  Sorry, I've never been able to
build native java for FreeBSD.

-- 
Dan Eischen

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


Re: Native JDK with libthr/libkse

2003-05-31 Thread Alexey Zelkin
On Sat, May 31, 2003 at 01:45:22AM -0400, Daniel Eischen wrote:
 On Sat, 31 May 2003, Norikatsu Shigemura wrote:
 
  I am testing about JDK1.4.1/1.3.1 with libthr/libkse using
  /etc/libmap.conf.
  
  1. JDK1.3.1/libthr is not work. java is stop.
  2. JDK1.3.1/libkse is not work. java is stop.
  3. JDK1.4.1/libthr is not work. java is stop.
  4. JDK1.4.1/libkse is good work.
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  $ /usr/local/jdk1.4.1/bin/java -jar 
  /usr/local/jdk1.4.1/demo/jfc/Java2D/Java2Demo.jar
  May 31, 2003 10:33:14 AM java.util.prefs.FileSystemPreferences$3 run
  WARNING: Could not create system preferences directory. System preferences are 
  unusable.
  May 31, 2003 10:33:45 AM java.util.prefs.FileSystemPreferences 
  checkLockFile0ErrorCode
  WARNING: Could not lock System prefs.Unix error code 136418560.
  May 31, 2003 10:33:45 AM java.util.prefs.FileSystemPreferences syncWorld
  WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: 
  Couldn't get file lock.
  May 31, 2003 10:34:15 AM java.util.prefs.FileSystemPreferences 
  checkLockFile0ErrorCode
  WARNING: Could not lock System prefs.Unix error code 136418560.
  May 31, 2003 10:34:15 AM java.util.prefs.FileSystemPreferences syncWorld
  WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: 
  Couldn't get file lock.
  May 31, 2003 10:34:45 AM java.util.prefs.FileSystemPreferences 
  checkLockFile0ErrorCode
  WARNING: Could not lock System prefs.Unix error code 136418560.
  May 31, 2003 10:34:45 AM java.util.prefs.FileSystemPreferences syncWorld
  WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: 
  Couldn't get file lock.
  :
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
 What are the above error messages?  Sorry, I've never been able to
 build native java for FreeBSD.

Ignore them.  They are related to non-writable directory there swing
attempts to save properties file.

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


Re: Native JDK with libthr/libkse

2003-05-31 Thread Dag-Erling Smorgrav
Daniel Eischen [EMAIL PROTECTED] writes:
 What are the above error messages?  Sorry, I've never been able to
 build native java for FreeBSD.

# cd /usr/ports/java/jdk13
# make install clean

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