Illegal Instruction Problem fixed in RC3

1999-11-29 Thread Ingo Rockel

Hi!

I just found this in the bug-report:

  From: Juergen Kreileder <[EMAIL PROTECTED]>
  To: [EMAIL PROTECTED]
  Subject: Re: Illegal Instruction when doing anything (e.g. java-version) (PR#1532)
  Date: Sat Nov 27 16:31:21 1999

  Fixed in RC3 which will be available in a couple of days.


  Juergen

Link to the bug:

http://www.blackdown.org/cgi-bin/jdk/incoming?id=1532;expression=illegal%20instruction;user=guest#replies

Ingo

* **
**  "Linux is like living in a teepee. No Windows, no Gates,   * 
***  Apache in house." Usenet Signature 
 ***
*   Ingo Rockel, EMAIL: [EMAIL PROTECTED] **
**   Homepage: http://inro.da.ru   *


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



Error in loading shared libraries

1999-11-29 Thread benito . meeuwis

Hi,

I'm using Linux 6.1 SUSE and I installed Java.
When I try to run java, I get the following error :

/usr/lib/java/bin/../bin/i586/green_threads/java:
error in loading shared 
libraries:/usr/lib/java/bin/../lib/i586/green_threads/libjava.so:
undefined symbol: _dl_symbol_value

What am I doing wrong ???

E-Mail : [EMAIL PROTECTED]

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



Re: Error in loading shared libraries

1999-11-29 Thread Ingo Rockel

On Mon, 29 Nov 1999 [EMAIL PROTECTED] wrote:

> Hi,
> 
> I'm using Linux 6.1 SUSE and I installed Java.
> When I try to run java, I get the following error :
> 
> /usr/lib/java/bin/../bin/i586/green_threads/java:
> error in loading shared 
>libraries:/usr/lib/java/bin/../lib/i586/green_threads/libjava.so:
> undefined symbol: _dl_symbol_value
> 
> What am I doing wrong ???
>
If you installed the jdk1.2.2RC2, you need glibc2.1.2 (I think your SuSE
has glibc2.1.1, you can find out with: rpm -q glibc), you need to update
your installation. Or yoy download an older prerelease (but be careful and
download the correct version for your glibc ! 2.0.7 is not compatible to
2.1.x) 
At the moment the RC2 seems not to run with AMD and Pentium MMX
processors.

greetings,

Ingo

* **
**  "Linux is like living in a teepee. No Windows, no Gates,   * 
***  Apache in house." Usenet Signature 
 ***
*   Ingo Rockel, EMAIL: [EMAIL PROTECTED] **
**   Homepage: http://inro.da.ru   *


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



Re: Error in loading shared libraries

1999-11-29 Thread Michael Sinz

On Mon, 29 Nov 1999 15:39:19 +0100, [EMAIL PROTECTED] wrote:

>Hi,
>
>I'm using Linux 6.1 SUSE and I installed Java.
>When I try to run java, I get the following error :
>
>/usr/lib/java/bin/../bin/i586/green_threads/java:
>error in loading shared 
>libraries:/usr/lib/java/bin/../lib/i586/green_threads/libjava.so:
>undefined symbol: _dl_symbol_value
>
>What am I doing wrong ???

It looks like you are running the older JDK (pre glibc2.1) on a glibc2.1
system.  There was a change in glibc 2.1 that broke our glibc 2.0 JDK
code.  The 117_v3 release addressed this by doing things a bit differently
and thus should work in glibc 2.0 and glibc 2.1

-- 
Michael Sinz  Technology and Engineering Director/Consultant
"Starting Startups" mailto:[EMAIL PROTECTED]
My place on the web ---> http://www.users.fast.net/~michael_sinz



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



Re: NEW JDK RELEASE!

1999-11-29 Thread Joseph Shraibman

Jan Buchmann wrote:

> On Sat, Nov 27, 1999 at 11:26:49AM -0700, Riyad Kalla wrote:
> > Interestingly enough, on some of the sites I was crossing last night in search of 
>RC2, I saw that RC1 was on some. When was RC1 released? I don't ever remeber seeing 
>ANYTHING about an RC1.
> >
> > But anyway, you might try RC1 since it might be compatable with older versions of 
>Glibc, or upgrade glibc I suppose.
> I downloaded rc1 before rc2 was out (in fact before any announcements were made) and 
>it didn't work with the same error (btw it has the "glibc2.1.2" in the name too)i, 
>that's why i "upgraded" to rc2. I guess I have to wait for SuSE 6.3 which provides 
>the new glibc.
> >
> (offtopic) Does anybody know which consequences it would have to upgrade to a new 
>glibc. Would I have to recompile some apps or something like that? Or does it just 
>fit into the system and is completely downwards-compatible(I heard something about 
>changed symbolnames)?

I upgraded a redhat 5.0 system to a new glibc.  They were supposed to be compatible.  
They weren't.  Had to wipe the system and start over.


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



Re: Corrupted JDK-1.2.2

1999-11-29 Thread Albert Y.C. Lai

"John N. Alegre" <[EMAIL PROTECTED]> writes:

> What gives?  Why the shar file anyway? bz2 was ok, gz even better.
> shar files aren't even compressed

I think the main purpose of the installer script is to make you read
and agree to the license before it unpacks the files, like all
software packages for DOS, Apple DOS, and Slowaris do these days.


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



Re: Corrupted JDK-1.2.2

1999-11-29 Thread Scott Murray

On Mon, 29 Nov 1999, Albert Y.C. Lai wrote:

> "John N. Alegre" <[EMAIL PROTECTED]> writes:
> 
> > What gives?  Why the shar file anyway? bz2 was ok, gz even better.
> > shar files aren't even compressed
> 
> I think the main purpose of the installer script is to make you read
> and agree to the license before it unpacks the files, like all
> software packages for DOS, Apple DOS, and Slowaris do these days.

The Solaris Reference JDKs are indeed packaged in the same manner.

Scott


-- 
=
Scott Murray   email: [EMAIL PROTECTED]
http://www.interlog.com/~scottm ICQ#: 10602428
-
 "Good, bad ... I'm the guy with the gun." - Ash, "Army of Darkness"


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



Re: How can I see memory used by Java?

1999-11-29 Thread Jonathan Doughty

Nathan Meyers wrote:

> BTW, I haven't seen any evidence that the JVM gives memory back
> to the system. Doing such a thing isn't impossible, but it is
> difficult; OTOH, systems with garbage-collection are those most
> able to implement such a capability.

This was added to JDK 1.1.8.  From the 1.1.8 release notes:

> HEAP EXPANSION AND SHRINKAGE - Four new command-line options have
> been added to the java application launcher that allow control of
> garbage- collected heap expansion and shrinkage. The new options are
> -maxe, -mine, -maxf, and -minf. These options were added as a fix
> for bugd> 4065018.

Check the descriptions for the -maxe, -mine, -minf, and particularly
the -maxf options for further details about the conditions under which
heap is returned to the OS.  Perhaps these have made it into the
Blackdown 1.2.2 RC2; though I doubt it since I don't see any mention
of these options or their -X equivalents even in the Windows or
Solaris 1.3 Betas and I don't recollect any mention of heap
contraction in other 1.2 documentation.  Only those with access to the
garbage collector source would know for sure.

By the way, the IBM JDK 1.1.8 for Linux claims to support these
options.
-- 
Jonathan Doughty  The MITRE Corporation  [EMAIL PROTECTED]


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



Select/poll for java-linux

1999-11-29 Thread Artur Biesiadowski

Has anybody implemented it already ? Sun does not seem to try to solve
the subject, but I suppose that it should be possible to add select like
functionality on top of current jdk (including some native code of
course). 

I'm not thinking about being particulary portable here - as long as I
can run it on any 2.2.x linux kernel (no need of windows/solaris
compatibility).


Artur


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



That old --zapf dinbats ERROR --- GRRR

1999-11-29 Thread John N. Alegre

The jdk1.2.2 is now sucessfully installed but when running any app on Redhat
6.0 I get:

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]
Font specified in font.properties not found [--zapf
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]

etc  

Now I downloaded the URW fonts from www.gimp.org, put them in
/usr/X11R6/share/fonts which is linked to /usr/X11R6/lib/X11/fonts.  I changed
my /etc/X11/fs/config file to include /usr/X11R6/share/fonts/URW and made sure
that the /usr/local/jdk1.2.2/jre/lib directory and the
/usr/local/jdk1.2.2/jre/lib/font.properties file were both global readable. 
Then I rebooted.

I still get the above problem.  What am I missing??

All comments welcome.
john

--
E-Mail: John N. Alegre <[EMAIL PROTECTED]>
Date: 29-Nov-99
Time: 12:00:30

This message was sent by XFMail
--


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



Running a Java Service (ie no gui)

1999-11-29 Thread jbaker

Hiya,

I'm using the 1.2beta2, and when I run a Java process outside of an X
environment, I get the following error:

java.lang.reflect.InvocationTargetException: java.lang.InternalError: Can't
connect to X11 window server using ':0.0' as the value of the DISPLAY
variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at
sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:124)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:63)
at java.awt.Font.initializeFont(Font.java:259)
at java.awt.Font.(Font.java:289)
at
javax.swing.plaf.metal.DefaultMetalTheme.(DefaultMetalTheme.java:59)
at
javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:654)
at
javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:658)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:339)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:366)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:820)
at javax.swing.UIManager.initialize(UIManager.java:896)
at javax.swing.UIManager.maybeInitialize(UIManager.java:913)
at javax.swing.UIManager.getUI(UIManager.java:535)
at javax.swing.JScrollBar.updateUI(JScrollBar.java:192)
at javax.swing.JScrollBar.(JScrollBar.java:143)
at javax.swing.JScrollBar.(JScrollBar.java:158)


Now I realise this is because Im not running X, and it occurs when I create
a JSliderBar (I need to create many components on this backend service, so I
cant work around it). Is this a known problem?

Cheers,


-John

-- 
John Baker, BSc CS.   
Java developer and Linux lover:-)


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



Re: That old --zapf dinbats ERROR --- GRRR

1999-11-29 Thread Dimitrios Vyzovitis

"John N. Alegre" wrote:

> Then I rebooted.

argh...argh...argh...
You don't have to. How about restarting the font server (xfs)?
/etc/rc.d/init.d/xfs restart should do the work (after updating the conf - see
below)


> I still get the above problem.  What am I missing??

I believe that you have to update the font server configuration.
Check /usr/X11R6/lib/X11/fs/config (but do a man xfs  before :-)
However, this is only a speculation, since I have not tried it yet on my rh-6.0
box (I just grabbed the shar)



-- dimitris




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



Re: That old --zapf dinbats ERROR --- GRRR

1999-11-29 Thread Peter Eddy


Did you remember to do:

ttmkfdir -o fonts.scale
mkfontdir

in the new font directory?

Here's a nice resource for font reated issues in X:
http://www.frii.com/~meldroc/Font-Deuglification.html#install

Peter


"John N. Alegre" wrote:
> 
> The jdk1.2.2 is now sucessfully installed but when running any app on Redhat
> 6.0 I get:
> 
> 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]
> Font specified in font.properties not found [--zapf
> dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> 
> etc  
> 
> Now I downloaded the URW fonts from www.gimp.org, put them in
> /usr/X11R6/share/fonts which is linked to /usr/X11R6/lib/X11/fonts.  I changed
> my /etc/X11/fs/config file to include /usr/X11R6/share/fonts/URW and made sure
> that the /usr/local/jdk1.2.2/jre/lib directory and the
> /usr/local/jdk1.2.2/jre/lib/font.properties file were both global readable.
> Then I rebooted.
> 
> I still get the above problem.  What am I missing??
> 
> All comments welcome.
> john


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



Re: That old --zapf dinbats ERROR --- GRRR - CORRECTION

1999-11-29 Thread Dimitrios Vyzovitis

Oops - I jaust realized that I didn't say anything new.
I hastily misread your mail previously  - sorry for the braindead response :-)

-- dimitris




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



Re: Running a Java Service (ie no gui)

1999-11-29 Thread Michael Sinz

On Mon, 29 Nov 1999 18:10:16 +, [EMAIL PROTECTED] wrote:

>Hiya,
>
>I'm using the 1.2beta2, and when I run a Java process outside of an X
>environment, I get the following error:

I do this all the time but you have to be careful as to what code you
run.  If it does anything graphics related (such as images or swing or
user input) then you will need X.

>java.lang.reflect.InvocationTargetException: java.lang.InternalError: Can't
>connect to X11 window server using ':0.0' as the value of the DISPLAY
>variable.
>at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
>at
>sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61)
>at java.lang.Class.forName0(Native Method)
>at java.lang.Class.forName(Class.java:124)
>at
>java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:63)
>at java.awt.Font.initializeFont(Font.java:259)
>at java.awt.Font.(Font.java:289)
>at
>javax.swing.plaf.metal.DefaultMetalTheme.(DefaultMetalTheme.java:59)
>at
>javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:654)
>at
>javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:658)
>at javax.swing.UIManager.setLookAndFeel(UIManager.java:339)
>at javax.swing.UIManager.setLookAndFeel(UIManager.java:366)
>at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:820)
>at javax.swing.UIManager.initialize(UIManager.java:896)
>at javax.swing.UIManager.maybeInitialize(UIManager.java:913)
>at javax.swing.UIManager.getUI(UIManager.java:535)
>at javax.swing.JScrollBar.updateUI(JScrollBar.java:192)
>at javax.swing.JScrollBar.(JScrollBar.java:143)
>at javax.swing.JScrollBar.(JScrollBar.java:158)
>
>
>Now I realise this is because Im not running X, and it occurs when I create
>a JSliderBar (I need to create many components on this backend service, so I
>cant work around it). Is this a known problem?

Why are you creating a JSliderBar?  This is a GUI item and if you are
a service (non-GUI) I don't know where that component would be useful.

Anyway, if you really need to create such an object you will need some form
of X environment, even if it is a simple frame buffer (such as Xvfb)

-- 
Michael Sinz  Technology and Engineering Director/Consultant
"Starting Startups" mailto:[EMAIL PROTECTED]
My place on the web ---> http://www.users.fast.net/~michael_sinz



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



JDK 1.2.2 RC2 crashes on loading

1999-11-29 Thread Monoses Ioan


I've just installed the RC2 built against glibc 2.1.2 and
it always dumps core because of SIGILL (Illegal instruction).
This is true for both a 2.2.5 and a 2.2.12 kernel on a RH6.0.

Any hints?  (Am I dumb??)


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



Re: JDK 1.2.2 RC2 crashes on loading

1999-11-29 Thread Brian Pomerantz

On Mon, Nov 29, 1999 at 10:49:47PM -0200, Monoses Ioan wrote:
> 
>   I've just installed the RC2 built against glibc 2.1.2 and
>   it always dumps core because of SIGILL (Illegal instruction).
>   This is true for both a 2.2.5 and a 2.2.12 kernel on a RH6.0.
> 

Chances are you are running a processor other than a P2 or P3.  There
is a bug (P2/P3 specific instruction actually) in the code.  Word has
it that there will be a new release candidate in a couple of days that
removes the P2/P3 dependency.


BAPper


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



Problem with Native Thread under jdk1.2.2 RC2

1999-11-29 Thread Andy Choi

Hi all,

I have got a problem using native thread and hotspot with rc2. When i
try to run java, it would gives me the following messages.

/usr/local/jdk1.2.2/bin/i386/native_threads/java: error in loading
shared libraries:
/usr/local/jdk1.2.2/jre/lib/i386/native_threads/libhpi.so: symbol
sem_init, version GLIBC_2.1 not defined in file libpthread.so.0 with
link time reference

However, Green Thread works fine.

My System is a RedHat 6.0/glibc 2.1, with kernel 2.2.13.


Thanks,
Andy



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



Re: Select/poll for java-linux

1999-11-29 Thread Nelson Minar

>Has anybody implemented it already ? Sun does not seem to try to
>solve the subject, but I suppose that it should be possible to add
>select like functionality on top of current jdk

I've heard other references to doing this. Couldn't quickly find
anything, but it might be worth searching for.

However, do you really need it? What are you trying to do? Many of the
common uses for select() are well supported in Java by using multiple
threads and blocking I/O. I just wrote a spider that runs 20
simultaneous threads, most blocking on network replies. Worked like a
charm with Blackdown JDK 1.1.7 and green threads. Had a bit of trouble
with native threads, but it worked there too.

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


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



Re: That old --zapf dinbats ERROR --- GRRR

1999-11-29 Thread John N. Alegre

Well thanks for all the trys, but nothing has worked.

Here is a list of what I have tried:

1. Download the URW fonts form www.gimp.org
2. untared the tarball in /usr/X11R6/share/fonts which is
   linked to /usr/X11R6/lib/X11/fonts
3. moved to that directory and did
   /usr/sbin/ttmkfdir -o fonts.scale
   mkfontdir
4. manually added the /usr/X11R6/lib/X11/fonts/URW path
   to /etc/X11/fs/config
5. did a /usr/sbin/chkfontpath -- add /usr/X11R6/lib/X11/fonts/URW
6. did a /usr/sbin/chkfontpath -- list (the new dir shows up)
7. did a /etc/rc.d/init.d/xfs restart

Same "font not found" error shows up when I start the JDK.

Any other trys?

All comments welcome.  If I get a fix I will post to the list.

john

On 29-Nov-99 Peter Eddy wrote:
> 
> Did you remember to do:
> 
> ttmkfdir -o fonts.scale
> mkfontdir
> 
> in the new font directory?
> 
> Here's a nice resource for font reated issues in X:
> http://www.frii.com/~meldroc/Font-Deuglification.html#install
> 
> Peter
> 
> 
> "John N. Alegre" wrote:
>> 
>> The jdk1.2.2 is now sucessfully installed but when running any app on Redhat
>> 6.0 I get:
>> 
>> 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]
>> Font specified in font.properties not found [--zapf
>> dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
>> 
>> etc  
>> 
>> Now I downloaded the URW fonts from www.gimp.org, put them in
>> /usr/X11R6/share/fonts which is linked to /usr/X11R6/lib/X11/fonts.  I
>> changed
>> my /etc/X11/fs/config file to include /usr/X11R6/share/fonts/URW and made
>> sure
>> that the /usr/local/jdk1.2.2/jre/lib directory and the
>> /usr/local/jdk1.2.2/jre/lib/font.properties file were both global readable.
>> Then I rebooted.
>> 
>> I still get the above problem.  What am I missing??
>> 
>> All comments welcome.
>> john
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

--
E-Mail: John N. Alegre <[EMAIL PROTECTED]>
Date: 29-Nov-99
Time: 16:01:38

This message was sent by XFMail
--


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



Re: Problem with Native Thread under jdk1.2.2 RC2

1999-11-29 Thread Jacob Nikom

Was HotSpot ported to Linux?

Jacob Nikom 

Andy Choi wrote:
> 
> Hi all,
> 
> I have got a problem using native thread and hotspot with rc2. When i
> try to run java, it would gives me the following messages.
> 
> /usr/local/jdk1.2.2/bin/i386/native_threads/java: error in loading
> shared libraries:
> /usr/local/jdk1.2.2/jre/lib/i386/native_threads/libhpi.so: symbol
> sem_init, version GLIBC_2.1 not defined in file libpthread.so.0 with
> link time reference
> 
> However, Green Thread works fine.
> 
> My System is a RedHat 6.0/glibc 2.1, with kernel 2.2.13.
> 
> Thanks,
> Andy
> 
> --
> 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: Problem with Native Thread under jdk1.2.2 RC2

1999-11-29 Thread Brian Pomerantz

On Mon, Nov 29, 1999 at 05:30:17PM -0500, Jacob Nikom wrote:
> Was HotSpot ported to Linux?
> 

If it has been, it shouldn't manifest itself until JDK1.3.


BAPper


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



Still vexed, JNI + Motif in 1.2 JDK

1999-11-29 Thread Greg Wolodkin

Hi all -
Has anyone had any luck using the newer 1.2 JDKs (1.2-preXX and/or the
latest 1.2.2-RCxx) from within a Motif app?  Specifically I'm trying
to use the JNI to make calls from within a C program, and running into
trouble due to the fact that libawt.so contains a statically linked
copy of Motif.

The 1.1.7 model (where Motif was resolved by java, javac, etc) worked with
no problems.  But I've tried everything (except for building my own JDK
from Sun sources and Blackdown diffs) and I'm convinced there is no way I
can do this given the current distribution.

Thanks for any ideas - I have a bug report filed on the Blackdown pages
but I think it may be a while before the Incoming pile gets small enough 
for it to get noticed.  (1437 is the number).

Cheers-
Greg


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



Building 1.2.2 from Sun sources + Blackdown diffs

1999-11-29 Thread Greg Wolodkin

Hi all -
I've spent some time over the last two weeks trying to track down
the original 1.2 Sun sources (they're no longer on Sun's web pages,
only the 1.2.2 stuff is there).

Given the name of the latest 1.2.2-RC2 release, I'm thinking it is
probably based on the 1.2.2 source tree.  If so, how can I get a copy
of the Blackdown diffs for this latest release?

I realize everyone on the porting team is probably swamped, and I'm
ready and willing to tackle a few issues myself and submit patches,
but it's been incredibly difficult to even get started.  For 1.2 I
have the diffs but no source tree.  For 1.2.2 I have the source tree
but no diffs.

Do the porting team folks read this list anymore?  Hope so!  Thanks
in advance for any advice -

Greg


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



Re: Still vexed, JNI + Motif in 1.2 JDK

1999-11-29 Thread Juergen Kreileder

> Greg Wolodkin writes:

Greg> The 1.1.7 model (where Motif was resolved by java, javac,
Greg> etc) worked with no problems.  But I've tried everything
Greg> (except for building my own JDK from Sun sources and
Greg> Blackdown diffs) and I'm convinced there is no way I can do
Greg> this given the current distribution.

Greg> Thanks for any ideas - I have a bug report filed on the
Greg> Blackdown pages but I think it may be a while before the
Greg> Incoming pile gets small enough for it to get noticed.
Greg> (1437 is the number).

The way things work now is what most Invocation API programmers want.
I've seen your bug report and there surely is a need for a dynamically
linked libawt.  It's on my TODO list but it has low priority
currently.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Porting Team
http://www.blackdown.org/java-linux.html


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



Re: RPMs

1999-11-29 Thread Jeff Galyan

RedHat have made available excellent documentation for developers who
wish to use the RPM packaging system in the book "Maximum RPM". You
should be able to find it at fatbrain.com or your local bookstore.

--Jeff



> James Butler wrote:
> 
> You may remember my plea for assistance for help with installing the
> JDK and all the archiving problems I had. I was wondering if there was
> a concerted effort, anywhere, to create RPMs of the latest releases.
> 
> Because my office network and CD writer, in a concerted attempt, do
> not wish me to copy any file that ends with .tar or .bz2 I settled for
> a jdk1.7 RPM and had no problems with it at all.
> 
> I know it is a bit selfish of me to ask for RPMs, and not more generic
> distributions, but if it helps anyone to put java on their machine
> then it can only be a good thing.
> 
> If someone knows of any method for generating RPMs I might have a go
> myself.
> 
> Thanks.
> 
> James.

-- 
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
==
Linus Torvalds on Microsoft and software development:
"... if it's a hobby for me and a job for you, why are you doing such a
shoddy job of it?"

The views expressed herein do not necessarily reflect those of my
employer.

Sun Microsystems, Inc., has no connection to my involvement with the
Mozilla Organization.


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



Re: Select/poll for java-linux

1999-11-29 Thread Scott Murray

On Mon, 29 Nov 1999, Artur Biesiadowski wrote:

> Has anybody implemented it already ? Sun does not seem to try to solve
> the subject, but I suppose that it should be possible to add select like
> functionality on top of current jdk (including some native code of
> course). 
> 
> I'm not thinking about being particulary portable here - as long as I
> can run it on any 2.2.x linux kernel (no need of windows/solaris
> compatibility).

Sun have been working on some kind of poll extension, but AFAIK it is only
available in some of their Solaris Production JDK's.

Scott


-- 
=
Scott Murray   email: [EMAIL PROTECTED]
http://www.interlog.com/~scottm ICQ#: 10602428
-
 "Good, bad ... I'm the guy with the gun." - Ash, "Army of Darkness"


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



font.properties

1999-11-29 Thread Jeff Bean

I'm looking for a font.properties file that utilizes only basic X fonts
that are compatible with xfs or are common to most Unix/Linux systems.

I want to be able to run java applications cross platform, via remote X
server, and am constantly hitting either font-not-found problems, or
runtime java errors that read like:

Exception occurred during event dispatching:
java.lang.InternalError: Unsupported 16-bit depth

I have no problems running java via remote X servers of the same flavor
(both Linux, both Solaris, etc), but this doesn't really get me
anywhere.

If anyone has such a file (or can point me to one in a blackdown
distribution) I would be much obliged!

--Jeff B.


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