jdk-1.2pre-v2 RPMS

1999-06-10 Thread Sorin Lingureanu


can be downloaded from: 
ftp://tuiasi.ro/pub/lang/java/jdk/1.2/pre-v2

I'll find there two directories: glibc2.0 (for RedHat < 6.0) and glibc2.1
(for RedHat 6.0).

I've uploaded this files on ftp://contrib.redhat.com but it will take a
while to be available there.

Enjoy,  
===
Sorin LINGUREANU ([EMAIL PROTECTED], [EMAIL PROTECTED])

"Gh. Asachi" Technical University of Iasi
 http://www.tuiasi.ro/pages/CCTI
Bd. Copou, nr. 22   Work Phone:   +40 (0) 32 214410
Iasi - ROMANIA  Mobile Phone: +40 (0) 92 242321
===


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug in JAVADOC in 1.2pre2 glibc2.1 ??

1999-06-10 Thread Denis Riedijk

When using javadoc at home in 1.2p2 for glibc 2.1 I got a error. I had the
error on floppy with me, but my floppy broke :-(.
When trying the same thing here at school on jdk1.2p2 for glibc 2.0 It worked
o.k.

Does anybody else have this problem ?? I will mail the error-message
when I get home.

Dènis Riedijk


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Kernel Exception at [__copy_user+256/468] (fwd)

1999-06-10 Thread Uncle George

Actually:
1) I'm running on a Digital Alpha computer, with separate root partitions of
RedHat 5.x & redhat 6.0
2) Netbeans is pure java, so it can run anywhere ( runs mostly anywhere on
my machine :-) )
3) This appears to be a kernel ( RedHat kernel 2.2.5-22 problem ) Where I
suspect that the user address map is just not setup correctly to return data
to/from user space.
4) kernel 2.2.9 makes netbeans work in debugging  the sample program. BUT
was rather flakey in compiling anything. It just loved to go core at random
times ( going to 2.2.5 alleviated this problem, but gave me *3  :-(  )
5) This kernel failure was with jdk 118 & green threads On RH 6.0.
6) NETBEANS can be gotten from www.netbeans.com .
7)

[EMAIL PROTECTED] wrote:

> Hi,
>
> You're probably the guy to address these questions to:
>
> 1. You mention in the message you have RH6.0. I can't seem to get
> JDK (any version) to work on RH6.0, most likely a glibc issue. Is there a
> version available which supports RH6.0?
>
> 2. Where did you get netbeans? I have the netbeans distribution
> from SuSE 6.1, but that's for i386. Is it really 100% java? If so, then
> the i386 RPM should work fine.
> Trying to use NETBEANS ( pure JAVA IDE ) to  debug a sample program. I
> set a java breakpoint, and hit go.
> nothing ( strange) happens, but my disk light stays light ( oh oh,
> another 70meg core dump comming ). Apparently not a core dump, but in
> the var/log/messages file there are thse errors.  Love to see where in
> the application code this is being set, but no info in the logfile :-(.
>
> gat
>
> I am using redhat 2.2.5-22 kernel, on RH 6.0.
> I had used the 2.2.9 kernel, but segfaults from various pgms, convinced
> me to look for something more stable
>
> Jun  9 12:36:14 lx kernel: java_g: Exception at [__copy_user+256/468]
> (fc45ec40)
> Jun  9 12:36:14 lx kernel: java: Exception at [__copy_user+256/468]
> (fc45ec40)
> Jun  9 12:36:14 lx kernel: java_g: Exception at [__copy_user+256/468]
> (fc45ec40)
> Jun  9 12:36:14 lx kernel: java: Exception at [__copy_user+256/468]
> (fc45ec40)
> Jun  9 12:36:14 lx kernel: java: Exception at [__copy_user+256/468]
> (fc45ec40)
> [gat@kodak gat]$


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: JNI problems with JDK 1.2 Pre2 (crashing Linux) -> solved!

1999-06-10 Thread Marcel Ruff

Hi,

i used a symbolic link to point to the JDK 1.2pre2, this crashed my
whole Linux :

in /usr/local:
   drwxr-xr-x   9 marcel   users1024 Jun  9 15:03 jdk1.2Pre2
   lrwxrwxrwx   1 marcel   users  10 Jun  8 21:47 jdk
->jdk1.2Pre2

in conjunction with using:

  echo $LD_LIBRARY_PATH
.:/usr/local/jdk/jre/lib/i386:/usr/local/jdk/jre/lib/i386/native_threads:/usr/local/jdk/jre/lib/i386/classic




This fixed the problem:
---
  echo $LD_LIBRARY_PATH
.:/usr/local/jdk1.2Pre2/jre/lib/i386:/usr/local/jdk1.2Pre2/jre/lib/i386/native_threads:/usr/local/jdk1.2Pre2/jre/lib/i386/classic




So the LD_LIBRARY_PATH  is not allowed to follow a symbolic link in this

JDK 2 distribution!

Perhaps this dependency on a symbolic link should be resolved in a
future release.


thanks Juergen Kreileder for you support,

Marcel



>Hi,
>
>  My AWT HelloWorldAwt.java invoked thru C++/JNI is crashing my
Linux box!
>
>My first Linux crash after 3 years :-(
>It eats up all my memory 128MB + swap  128MB in a few seconds.
>
>The same HelloWorldAwt.java works well with JDK 1.1.x - JNI
(C++
>invoked)
>and invoked with JDK 1.2 Pre2 directly (java HelloWorldAwt)
>A none AWT HelloWorld.java works fine if invoked thru C++ - JNI

on 1.2
>Pre2.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Problem running Java3D

1999-06-10 Thread Francisco Figueirido

I downloaded the Java3D port but was unable to get it running. One of the
shared libraries needs libMesaGL.so.3.? (forgot the number), but I have
the Xi Graphics OpenGL port instead. After making the appropriate symbolic
links (libMesaGL.so.3.? -> libGL.so) I get an `undefined symbol' error for
glTexImage3DEXT. Am I right in thinking that this is an OpenGL 1.2 function?
The Xi OpenGL is a port of version 1.1, and doesn't contain this function
(it contains glTexImage1D and glTexImage2D). If this is so, is OpenGL 1.2
really needed for Java3D? If not needed, would it be possible to provide a
version linked against an OpenGL 1.1 port?

Another question: has anybody had success running jdk1.2-pre.v2 with the TYA
JIT? Just curious ...

-- 
Francisco Figueirido, Ph.D. Phone: (212)317-7680
Quantitative AnalystFax:   (212)317-7601
Imagine Software, Inc.  e-mail: [EMAIL PROTECTED]
400 Madison Avenue, 21st Floor
New York, NY 10017


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Something Special for Linux Developers on alphaWorks

1999-06-10 Thread Ulli Kortenkamp

Hi,

I just got this announcement from IBM Alphaworks. Sounds
interesting. We should use the remaing time until Friday evening for
wild speculations, bets and guesses...:

-

Something special is being added for the
Linux Java Developers on alphaWorks
By the end of the day[left coast time] on Friday June 11th
alphaWorks will be releasing a technology that is very useful
and vary fast to the Linux developer community. I cant tell you
what it is right now without loosing my job, but believe me, it is
something excellent.

http://www.alphaWorks.ibm.com/

-


So, are they releasing the IBM VM for linux? Or VisualAge? Or both? 

-Ulli

-- 
ETH Zentrum, IFW B43, CH-8092 Zürich   // http://www.cinderella.de
Phone +41-1-63 27393 // FAX +41-1-63 21172 // http://www.inf.ethz.ch/~kortenka
USA: http://www.amazon.com/exec/obidos/ASIN/3540147195/theinteractivege


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Problem running Java3D

1999-06-10 Thread Denis Riedijk

On Thu, 10 Jun 1999, Francisco Figueirido wrote:
>I downloaded the Java3D port but was unable to get it running. One of the
>shared libraries needs libMesaGL.so.3.? (forgot the number), but I have
>the Xi Graphics OpenGL port instead. After making the appropriate symbolic
>links (libMesaGL.so.3.? -> libGL.so) I get an `undefined symbol' error for
>glTexImage3DEXT. Am I right in thinking that this is an OpenGL 1.2 function?
>The Xi OpenGL is a port of version 1.1, and doesn't contain this function
>(it contains glTexImage1D and glTexImage2D). If this is so, is OpenGL 1.2
>really needed for Java3D? If not needed, would it be possible to provide a
>version linked against an OpenGL 1.1 port?
>
>Another question: has anybody had success running jdk1.2-pre.v2 with the TYA
>JIT? Just curious ...

Yes, tya1.3v2 works like a charm for me, all java tool work o.k. with it. rmic
speedup is superb.

Dènis Riedijk


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Something Special for Linux Developers on alphaWorks

1999-06-10 Thread Michael Emmel

Ulli Kortenkamp wrote:

> Hi,
>
> I just got this announcement from IBM Alphaworks. Sounds
> interesting. We should use the remaing time until Friday evening for
> wild speculations, bets and guesses...:
>
> -
>
> Something special is being added for the
> Linux Java Developers on alphaWorks
> By the end of the day[left coast time] on Friday June 11th
> alphaWorks will be releasing a technology that is very useful
> and vary fast to the Linux developer community. I cant tell you
> what it is right now without loosing my job, but believe me, it is
> something excellent.
>
> http://www.alphaWorks.ibm.com/
>
> -
>
> So, are they releasing the IBM VM for linux? Or VisualAge? Or both?
>
> -Ulli

This is probably one of the meanest things that someone has ever ever done to me : (

If its the JVM party in the streets !!!
I hope the word fast means it not the IDE  it would be nice to have but a fast VM
is more important now.
Of course I don't see them porting there IDE without the VM either so maybe both.

As my imagination runs wild IBM announces the JVM port to Linux  under and Open
Source License.
Also there are numerous reports of  strange meteorological  events in  Redmond
Washington.
These are reported to be related to a strange Solar eclipse occurring in California.

Mike


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Something Special for Linux Developers on alphaWorks

1999-06-10 Thread Alexander V. Konstantinou

VISUALAGE FOR JAVA TECHNICAL PREVIEW FOR LINUX
==
http://www.software.ibm.com/ad/r/99enews6/linux/

You asked for it... you got it!  In response to your overwhelming
enthusiasm for VisualAge for Java and your petition for a Linux  
edition, we will offer a technical preview of VisualAge for Java,
Professional Edition for Linux.  We'll be showing the technical  
preview at the upcoming JavaOne conference and we'll be making   
the technical preview available for download at VisualAge Developer
Domain.  For more information, read this letter to the
developer community to find out what you can do to bring
about a general release of this product to the market.  


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Something Special for Linux Developers on alphaWorks

1999-06-10 Thread Christian Cryder

But will it include the new IBM JVM?


Christian Cryder
Software Engineer - UHR Infrastructure
REALM Information Technologies -  http://www.realminfo.com
Adventures in UHR - http://realm.granitepeaks.com
Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj

 "What a great time to be a geek"
 

> -Original Message-
> From: Alexander V. Konstantinou [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 10, 1999 9:57 AM
> To: Michael Emmel
> Cc: [EMAIL PROTECTED]
> Subject: Re: Something Special for Linux Developers on alphaWorks
> 
> 
> VISUALAGE FOR JAVA TECHNICAL PREVIEW FOR LINUX
> ==
> http://www.software.ibm.com/ad/r/99enews6/linux/
> 
> You asked for it... you got it!  In response to your overwhelming
> enthusiasm for VisualAge for Java and your petition for a Linux  
> edition, we will offer a technical preview of VisualAge for Java,
> Professional Edition for Linux.  We'll be showing the technical  
> preview at the upcoming JavaOne conference and we'll be making   
> the technical preview available for download at VisualAge Developer
> Domain.  For more information, read this letter to the
> developer community to find out what you can do to bring
> about a general release of this product to the market.  
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Something Special for Linux Developers on alphaWorks

1999-06-10 Thread Osvaldo Pinali Doederlein

Wow!  This rocks.  And will probably force the competition to go Linux too.
As a partner of Inprise, I hope they're fast :)

VisualAge does not use the IBM JDK.  It uses a completely proprietary,
embedded VM, which is actually a Smalltalk VM (VA is written in ST)
emulating Java (and doing it quite well, thanks to IBM's Universal VM
technology).  The big problem is being always a few months behind the latest
official JDK.  But one thing is sure, now that IBM will do VA for Linux,
it's 100% sure that IBM JDK will follow.

I have discussed that a bit with IBM JVM's project manager while doing my
Java Performance Report (check the JavaLobby), and at that time, he wouldn't
tell me about IBM's plans/schedules of porting anything to Linux... but he
told me that their VM, jitter, included, is extremely high-level and
portable code and they can move to Linux in a flash, should they decide to
do it.

For whoever is wondering about their sources.  The answer is yes and no.
Lots of the good things in IBM JDK, both performance and bugfix arenas, are
classified as "improvements in shared code" -- i.e. anything licensed from
Sun, basically everything except the jitter.  IBM's improvements on such
areas are returned to Sun, this is part of the license.  So we won't likely
grab any JDK sources from IBM, but their work will leak to future versions
of Sun's official JDK.  That's the rule for JDK1.1; for Java2, I believe the
SCSL allows IBM to keep for themselves the improvements, BUT they will share
it anyways (I am 99% sure of that).  The bad news is, there's no open source
ibmjitc in the horizon (contains a few crown jewels)... maybe even the high
performance interpreter and most cool things in the VM, like their garbage
collector, would be excluded because they're original IBM code not covered
by the license (the jitter, in particular, is 100% IBM work).  But we may
have yet another surprise.

My bet is that the IBM JDK won't be too fast (like, say, next week for a
beta) because they will go straight to Java2.  By this time most activity of
IBM's JVM work must be focused in the 1.2 VM, so it doesn't make much sense
starting more ports of 1.1 now, even if it's easy to do (it's less easy to
support along the way).

- Original Message -
From: Christian Cryder <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 06, 1999 7:05 PM
Subject: RE: Something Special for Linux Developers on alphaWorks


> But will it include the new IBM JVM?
>
> 
> Christian Cryder
> Software Engineer - UHR Infrastructure
> REALM Information Technologies -  http://www.realminfo.com
> Adventures in UHR - http://realm.granitepeaks.com
> Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj
> 
>  "What a great time to be a geek"
> 
>
> > -Original Message-
> > From: Alexander V. Konstantinou [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 10, 1999 9:57 AM
> > To: Michael Emmel
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Something Special for Linux Developers on alphaWorks
> >
> >
> > VISUALAGE FOR JAVA TECHNICAL PREVIEW FOR LINUX
> > ==
> > http://www.software.ibm.com/ad/r/99enews6/linux/
> >
> > You asked for it... you got it!  In response to your overwhelming
> > enthusiasm for VisualAge for Java and your petition for a Linux
> > edition, we will offer a technical preview of VisualAge for Java,
> > Professional Edition for Linux.  We'll be showing the technical
> > preview at the upcoming JavaOne conference and we'll be making
> > the technical preview available for download at VisualAge Developer
> > Domain.  For more information, read this letter to the
> > developer community to find out what you can do to bring
> > about a general release of this product to the market.
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> >
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Exception in thread "main"

1999-06-10 Thread eric




hi there,
 
any class I try to run, gives me a 
:

Exception in thread "main" 
java.lang.NoClassDefFoundError: classname
sample and demo files, own files no 
matter...
PATH points to the jdk/bin directory and CLASSPATH is set 
(JDK1.2 on RedHat6)
please help me someone !
 
thanx Eric Ballnath


problem with compiling JMF - missing header files

1999-06-10 Thread Sumit Gupta

hi 

I am trying to compile the Java Media Framework sources on linux
against the jdk 1.2 from blackdown. I am running into problems
because the sources try to include header files (which come as
 part of the jdk on a solaris box) but which are missing from
 the include directory in the linux jdk (for instance
  threads.h, sys_api.h, oobj.h, etc.) . some of these header
 files i could find in a directory called "include-old" in the linux
 JDK but including those leads to further missing header files.
 
 could somebody tell me where the right header files can be found? 
 
 thanks
 sumit
 
 [EMAIL PROTECTED] 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



jdk1.2prerealeasev2 and RedHat6 (updated from 5.2)

1999-06-10 Thread Miguel Angel Rodriguez Florido

Hi I am having a problem which is coming me to desperation. Well I have
updated linux Redhat5.2 to REdHat6.0, so I have glibc2.1, but when I try
to see one of the /demo directory example with windows (for example  I
put : %java SimpleExample) I get this message:

Font specified in font.properties not found [--zapf
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found [--zapf
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found [--zapf
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
SIGSEGV   11*  segmentation violation
stackpointer=0xbf1ff2c4

Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, native
threads):
"Thread-0" (TID:0x404cca68, sys_thread_t:0x859df38, state:CW, native
ID:0x400) prio=5
"Screen Updater" (TID:0x404cce08, sys_thread_t:0x8569560, state:CW,
native ID:0x1c08) prio=4
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Compiled Code)
at sun.awt.ScreenUpdater.nextEntry(Compiled Code)
at sun.awt.ScreenUpdater.run(Compiled Code)
"AWT-Motif" (TID:0x404d44d0, sys_thread_t:0x82a6d88, state:MW,
native ID:0x1807) prio=5
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Compiled Code)
  at sun.java2d.loops.IntRgbToIntRgb.OpaqueBlit(Compiled Code)
at
sun.java2d.loops.RasterOutputManager.performOpaqueBlit(Compiled Code)
at sun.java2d.loops.RasterOutputManager.compositeSrcDst(Compiled
Code)
at sun.java2d.loops.RasterOutputManager.renderImage(Compiled
Code)
at sun.java2d.SunGraphics2D.renderingPipeImage(Compiled Code)
at sun.java2d.SunGraphics2D.drawImage(Compiled Code)
at sun.awt.motif.X11Graphics.drawImage(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at java.awt.Container.paint(Compiled Code)
at sun.awt.motif.MComponentPeer.handleEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
"Finalizer" (TID:0x404bf320, sys_thread_t:0x80cc570, state:CW,
native ID:0xc04) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0x404bf3b0, sys_thread_t:0x80c7db8,
state:CW, native
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"SIGQUIT handler" (TID:0x404bf3e0, sys_thread_t:0x80c0850, state:R,
native ID:0x402) prio=5
Monitor Cache Dump:
java.lang.ref.ReferenceQueue$Lock@404BF338/404F4D60: 
Waiting to be notified:
"Finalizer" (0x80cc570)
sun.awt.ScreenUpdater@404CCE08/4058B188: 
Waiting to be notified:
"Screen Updater" (0x8569560)
sun.awt.PostEventQueue@404D4B88/405473C8: 
Waiting to be notified:
"SunToolkit.PostEventQueue-0" (0x82d1a10)
java.lang.Class@404D1960/40547500: owner "AWT-EventQueue-0"
(0x83cdbb8) 1 entry
Waiting to enter:
"AWT-Motif" (0x82a6d88)
java.lang.ref.Reference$Lock@404BF3C0/404F4890: 
Waiting to be notified:
"Reference Handler" (0x80c7db8)
Registered Monitor Dump:
PCMap lock: 
utf8 hash table: 
JNI pinning lock: 
JNI global reference lock: 
BinClass lock: 
Class linking lock: 
System class loader lock: 
Code rewrite lock: 
Heap lock: 
Monitor cache lock: owner "AWT-EventQueue-0" (0x83cdbb8) 1 entry
Thread queue lock: owner "AWT-EventQueue-0" (0x83cdbb8) 1 entry
Waiting to be notified:
"Thread-0" (0x859df38)
Monitor registry: owner "AWT-EventQueue-0" (0x83cdbb8) 1 entry
 
The first problem is very simple because I have librarys for fonts, but
the second one is terrible!!.
Moreover at a machine where I have installed Redhat6.0 from zero it
works!!!, and in another in REdHat5.2 too (with glibc2.0.7 and a
pre-realease for this lib).
I don't Know what is happening???, I think that there is something at
RedHat6.0 updated from RedHat5.2 that jdk1.2 doesn't like.
Does somebody know what happens? or Can somebody help me???

Thank you very much..and good luck.

Miguel.


-- 
  Miguel Angel Rodriguez Florido
 ETSI Telecomunicacion-Campus de Tafira-ULPGC
 email:[EMAIL PROTECTED]:928 452980-Fax:928 451243
 Gran Canaria - 

C++ with JNI with JDK1.2pre2 with sunwjit crashes on Linux

1999-06-10 Thread Marcel Ruff

Hi,

I have a little HelloWorldAwt.C sample, which crashes on Linux when
compiled and linked as C++ code (using g++).
HelloWorldAwt.C invokes via JNI a litle Java  popup.

When disabling the JIT  it works fine.

But:
---
Compiled and linked as C (using cc) it runs fine (with or without JIT)

The problem seems somehow related to the different way C and C++ is
linked.


My environment is:

intel Linux 2.2.5 , glibc 2.0x
gcc version gcc-2.95 19990602 (prerelease)


I will provide an example if desired.


thanks, Marcel


 Output when crashing ---
[Dynamic-linking native method java/lang/System.mapLibraryName ... JNI]
[Loaded java.lang.ClassLoader$3 from
/usr/local/jdk1.2Pre2/jre/lib/rt.jar]
[Loaded java.lang.Boolean from /usr/local/jdk1.2Pre2/jre/lib/rt.jar]
[Loaded java.lang.ClassLoader$NativeLibrary from
/usr/local/jdk1.2Pre2/jre/lib/rt.jar]
[Dynamic-linking native method java/lang/ClassLoader$NativeLibrary.load
... JNI]
[Loaded native library:
/usr/local/jdk1.2Pre2/jre/lib/i386/libsunwjit.so]
[Dynamic-linking native method java/lang/ClassLoader$NativeLibrary.find
... JNI]
[Loaded java.lang.NullPointerException from
/usr/local/jdk1.2Pre2/jre/lib/rt.jar]
SIGSEGV   11*  segmentation violation
stackpointer=0xbfffe618

Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, native
threads):
"Finalizer" (TID:0x404dc320, sys_thread_t:0x80cacc8, state:CW,
native ID:0xc03) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0x404dc3b0, sys_thread_t:0x80c63e0,
state:CW, native ID:0x802) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"SIGQUIT handler" (TID:0x404dc3e0, sys_thread_t:0x80bee68, state:R,
native ID:0x401) prio=5
"main" (TID:0x404dc1e0, sys_thread_t:0x804a8b0, state:R, native
ID:0x400) prio=5
at java.lang.String.valueOf(Compiled Code)
at java.lang.Compiler.(Compiler.java:68)
Monitor Cache Dump:
java.lang.ref.ReferenceQueue$Lock@404DC338/40512028: 
Waiting to be notified:
"Finalizer" (0x80cacc8)
 (0x404dc131): owner "main" (0x804a8b0) 1 entry
java.lang.ref.Reference$Lock@404DC3C0/40511B20: 
Waiting to be notified:
"Reference Handler" (0x80c63e0)
Registered Monitor Dump:
PCMap lock: 
utf8 hash table: 
JNI pinning lock: 
JNI global reference lock: 
BinClass lock: 
Class linking lock: 
System class loader lock: 
Code rewrite lock: 
Heap lock: 
Monitor cache lock: owner "main" (0x804a8b0) 1 entry
Thread queue lock: owner "main" (0x804a8b0) 1 entry
Dynamic loading lock: 
Monitor registry: owner "main" (0x804a8b0) 1 entry




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Something Special for Linux Developers on alphaWorks

1999-06-10 Thread Paolo Ciccone

> "OPD" == Osvaldo Pinali Doederlein <[EMAIL PROTECTED]> writes:

OPD> That's great!  I did see the announcements but I though the
OPD> code was still in the distant future, as I didn't see a
OPD> public splash of it.  So, is 'vi' doomed now on Linux?  :)

Well, we just didn't to talk about vaporware even though JB has been
tested on Linux for some time. Also we were waiting for a more stable
JVM, JBuilder is one heavy application. As we said we are working on a
multiplatform version that will be released for Solaris *and* Linux.
As many of us know Java is "write once test everywhere" and there are
indeed differences in the way it works between Solaris and
Linux. 

--Paolo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Swing on Linux

1999-06-10 Thread Nelson Minar

I've just started looking at using Swing for my Java project. It seems
really really slow. Is anyone here seriously using Swing under Linux,
without a JIT? Is there some way to improve things? Do JITs make
enough difference to make it bearable?

  [EMAIL PROTECTED]
.   .  . ..   .  . . http://www.media.mit.edu/~nelson/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Something Special for Linux Developers on alphaWorks

1999-06-10 Thread Paolo Ciccone

> "OPD" == Osvaldo Pinali Doederlein <[EMAIL PROTECTED]> writes:

OPD> Wow!  This rocks.  And will probably force the competition to
OPD> go Linux too.  As a partner of Inprise, I hope they're fast
OPD> :)

We're faster :), after annoucing the product several weeks ago we
demoed JBuilder for Linux last week at the shareholders' meeting
(together with our C++ compiler for Linux). Expect to see it soon in
other computer shows and conferences.

--Paolo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Something Special for Linux Developers on alphaWorks

1999-06-10 Thread Osvaldo Pinali Doederlein

That's great!  I did see the announcements but I though the code was still
in the distant future, as I didn't see a public splash of it.  So, is 'vi'
doomed now on Linux?  :)

- Original Message -
From: Paolo Ciccone <[EMAIL PROTECTED]>
To: Osvaldo Pinali Doederlein <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 10, 1999 11:00 PM
Subject: Re: Something Special for Linux Developers on alphaWorks


> > "OPD" == Osvaldo Pinali Doederlein <[EMAIL PROTECTED]>
writes:
>
> OPD> Wow!  This rocks.  And will probably force the competition to
> OPD> go Linux too.  As a partner of Inprise, I hope they're fast
> OPD> :)
>
> We're faster :), after annoucing the product several weeks ago we
> demoed JBuilder for Linux last week at the shareholders' meeting
> (together with our C++ compiler for Linux). Expect to see it soon in
> other computer shows and conferences.
>
> --Paolo
>
>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Swing on Linux

1999-06-10 Thread Seth M. Landsman

On Thu, Jun 10, 1999 at 07:45:49PM -0400, Nelson Minar wrote:
> I've just started looking at using Swing for my Java project. It seems
> really really slow. Is anyone here seriously using Swing under Linux,
> without a JIT? Is there some way to improve things? Do JITs make
> enough difference to make it bearable?

I have a mucking huge research system which is quite happily
depending on swing without too much effort.  This is with jdk117v3 and no
JIT.  The system was slow, but not unusable on jdk1.2.  The only reason we
haven't looked into 1.2 more is that we're facing artificial deadlines for
delivery.

-Seth
--
"It is by will alone I set my mind in motion"


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Swing on Linux

1999-06-10 Thread Cynthia Jeness

Nelson,

I seriously use Swing under Linux for a Media Librarian system.  The
performance that I see under Linux is comparable to the other platforms that I
have access to; i.e., OS/2, Solaris 7 and Win98.  In fact, Swing under Linux
runs better than under OS/2 because of the lack of the JIT.  I think that the
JIT just makes Swing slower and sometimes I actually disable the JIT  to get
better performance.  I suppose that I have just gotten used to it being slow.

Feature-wise, Swing has a lot to offer.  Here is a quote from George Saab of
the Swing team with regard to performance:

   "Another issue concerns footprint and performance.  Along with quality,
these have been the primary focus of the Kestrel update release mentioned
above.  We feel that we have made some promising advances in this area.
Our tests on real-world apps using Swing show that there has been a steady
improvements in footprint, startup time, and GUI responsiveness from
JDK1.2fcs -> JDK 1.2.2 -> Kestrel.  We'll discuss specifics of what we've
been doing in this area and share some numbers at the advanced-swing
session at JavaONE. (Slides will be available shortly afterwards on our
web site for those unable to attend)."

Kestrel is the code name for a new beta which the Swing team expects to be
available in mid-August.

Cynthia Jeness


Nelson Minar wrote:

> I've just started looking at using Swing for my Java project. It seems
> really really slow. Is anyone here seriously using Swing under Linux,
> without a JIT? Is there some way to improve things? Do JITs make
> enough difference to make it bearable?
>
>   [EMAIL PROTECTED]
> .   .  . ..   .  . . http://www.media.mit.edu/~nelson/
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Exception in thread "main"

1999-06-10 Thread Thomas M. Sasala

I just experienced the same problem.  I'm not sure exactly
where it came from, but I had Kaffe installed.  By default the
Kaffe executable is in /usr/bin, which happened to be before 
jdk in my path.  Type which java from a command line to see
which version of 'java' you are running.  Either uninstall Kaffe
or soft link all the Kaffe bins (in /usr/bin) to jdk bins.

-Tom

> eric wrote:
> 
> hi there,
> 
> any class I try to run, gives me a :
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: classname
> 
> sample and demo files, own files no matter...
> 
> PATH points to the jdk/bin directory and CLASSPATH is set
> 
> (JDK1.2 on RedHat6)
> 
> please help me someone !
> 
> 
> 
> thanx Eric Ballnath

-- 
+---+
+  Thomas M. Sasala, Electrical Engineer   [EMAIL PROTECTED]   +
+  MRJ Technology Solutionshttp://www.mrj.com   +
+  10461 White Granite Drive, Suite 102(W)(703)277-1714 +
+  Oakton, VA   22124  (F)(703)277-1702 +
+---+


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AD:Family Reunion T Shirts & More

1999-06-10 Thread Doug Collinge

Take a few minutes to call this guy's 800 number and leave a long message telling him 
what you
think of his spam.

[EMAIL PROTECTED] wrote:

> Message sent by:  Kuppler Graphics, 32 West Main Street, Maple Shade, New Jersey, 
>08052,
> 1-800-810-4330.   This list will NOT be sold.  All addresses
> are automatically added to our remove list.
>
> Hello.  My name is Bill from Kuppler Graphics.  We do screenprinting on T Shirts, 
>Sweatshirts,
> Jackets, Hats, Tote Bags and more!
>
> Do you or someone you know have a Family Reunion coming up?  Kuppler Graphics would 
>like to
> provide you with some great looking T Shirts for your Reunion.
>
> Kuppler Graphics can also provide you with custom T's and promotional items such as 
>imprinted
> magnets, keychains, pens, mugs, hats, etc. for your business or any fundraising 
>activity
> (church, school, business etc.) We also can provide you with quality embroidery.
>
> We are a family owned company with over 15 years of experience.
>
> All work is done at this location.  No middle man.  Our prices are great!
>
> Click reply to email us or call 1-800-810-4330 for more info
>
> Bill
> Kuppler Graphics
>
>
>
>
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Newbie question: What is a footprint ?

1999-06-10 Thread Mark Murphy

I have heard this term used alot lately and was wondering if someone could
explain to me what it is in reference to Java?

Thanks in advance

-- Murph


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Newbie question: What is a footprint ?

1999-06-10 Thread Nathan Meyers

Mark Murphy wrote:
> 
> I have heard this term used alot lately and was wondering if someone could
> explain to me what it is in reference to Java?

A footprint is occupied space. A desktop PC's footprint is the number of
square inches it takes up on your desk. An application's disk footprint
is the space taken up on the disk by the installation. Its memory
footprint is the amount of memory consumed in running the application.

Java has a large memory footprint -- just running a trivial app eats up
many megabytes of memory.

Nathan


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Swing on Linux

1999-06-10 Thread Armen Yampolsky

Nelson,

We are working on a CORBA-based java client that is pretty weighty in
terms of Swing components -- JSplitPane, bunches of JInternalFrames,
etc., all on the screen at once. Working on Linux using JDK117 v3, no
JIT, it is certainly bearable, IMO. It is slow, Java in general is slow,
unfortunately. But I've tried some alternatives, and have come away
feeling that this is the better. Some of my (possibly subjective)
observations:

(1) native threads are broken in JDK 117 v3. It's been talked about on
the list, but never addressed. Components will not draw properly, frames
will occassionally come up gray boxes, menus won't show, etc.

(2) JDK 1.2 pre2 fonts are still ugly. There was some sizing problem
with v1 that is fixed, but the font.properties file does no justice to
running java on linux. I will try to muck around and come up with
something decent, if I do I'll post it. As it stands, it's an eyesore.
Demos to clients would simply be embarassing.

(3) I tried a current project with JDK1.2 on NT, and found it ran
slower! Weird. I need to look into it, because it's hard to believe
(Symantec jit should be rather good), but it brought the machine to
paging hell.

So on my little 233 i586, the 117v3 with green threads is the most
bearable and pleasant Swing environment I have found. As for JITs on
linux, I have never seen TYA improve GUI performance to the extent that
I notice it qualitatively. Since I have enough variables to deal with, I
run without it.

Good luck,
-Armen


--
Armen Yampolsky
Axiom Software Laboratories
New York


>
> Subject: Swing on Linux
> Date: Thu, 10 Jun 1999 19:45:49 -0400 (EDT)
> From: [EMAIL PROTECTED] (Nelson Minar)
> To: [EMAIL PROTECTED]
> I've just started looking at using Swing for my Java project. It seems
>
> really really slow. Is anyone here seriously using Swing under Linux,
> without a JIT? Is there some way to improve things? Do JITs make
> enough difference to make it bearable?
>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Swing on Linux

1999-06-10 Thread Peter Graves

My experience is quite similar to Armen's.  My Swing app is a
programmer's editor that I use heavily on both Linux and NT.  I
too have found Linux JDK 117v3 green threads to be a very nice
environment.  In my experience, TYA helps significantly, and I've
never seen it introduce any instability.  Native threads are
definitely broken in 117v3; Swing apps are particularly sensitive
to this problem.  I've occasionally seen odd behavior with native
threads in 1.2pre2 also.  Font ugliness is still a problem in
1.2pre2, but the worst thing is that it has, overall, a very
sluggish feel compared to 117.

To achieve the best performance, you may have to deviate
occasionally from the straight and narrow path, as far as Swing
goes.

-Peter Graves
http://armedbear.org

Armen Yampolsky wrote:
> 
> Nelson,
> 
> We are working on a CORBA-based java client that is pretty weighty in
> terms of Swing components -- JSplitPane, bunches of JInternalFrames,
> etc., all on the screen at once. Working on Linux using JDK117 v3, no
> JIT, it is certainly bearable, IMO. It is slow, Java in general is slow,
> unfortunately. But I've tried some alternatives, and have come away
> feeling that this is the better. Some of my (possibly subjective)
> observations:
> 
> (1) native threads are broken in JDK 117 v3. It's been talked about on
> the list, but never addressed. Components will not draw properly, frames
> will occassionally come up gray boxes, menus won't show, etc.
> 
> (2) JDK 1.2 pre2 fonts are still ugly. There was some sizing problem
> with v1 that is fixed, but the font.properties file does no justice to
> running java on linux. I will try to muck around and come up with
> something decent, if I do I'll post it. As it stands, it's an eyesore.
> Demos to clients would simply be embarassing.
> 
> (3) I tried a current project with JDK1.2 on NT, and found it ran
> slower! Weird. I need to look into it, because it's hard to believe
> (Symantec jit should be rather good), but it brought the machine to
> paging hell.
> 
> So on my little 233 i586, the 117v3 with green threads is the most
> bearable and pleasant Swing environment I have found. As for JITs on
> linux, I have never seen TYA improve GUI performance to the extent that
> I notice it qualitatively. Since I have enough variables to deal with, I
> run without it.
> 
> Good luck,
> -Armen
> 
> --
> Armen Yampolsky
> Axiom Software Laboratories
> New York
> 
> >
> > Subject: Swing on Linux
> > Date: Thu, 10 Jun 1999 19:45:49 -0400 (EDT)
> > From: [EMAIL PROTECTED] (Nelson Minar)
> > To: [EMAIL PROTECTED]
> > I've just started looking at using Swing for my Java project. It seems
> >
> > really really slow. Is anyone here seriously using Swing under Linux,
> > without a JIT? Is there some way to improve things? Do JITs make
> > enough difference to make it bearable?
> >
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



What is TYA

1999-06-10 Thread Per Åhgren

I'm new to this mailing list and I have a question.
What is TYA. Is it a JIT compiler? Is it available for jdk 1.1.7 on
linux?

Regards
Per



begin:vcard 
tel;cell:070-4050818
tel;fax:018-503611
tel;home:018-508649
tel;work:018-4713079
x-mozilla-html:FALSE
url:http://frej.teknikum.uu.se/Personnel/pa/pa.html
org:Uppsala University;Systems and Control Group
n;quoted-printable:=C5hgren;Per
version:2.1
email;internet:[EMAIL PROTECTED]
title:PhD Student
adr;quoted-printable:;;PO Box 27=0D=0A;Uppsala;;SE-75103;Sweden
x-mozilla-cpt:;-28544
fn:Per Åhgren
end:vcard