Error in loading shared libraries

1999-09-07 Thread Sebastian-Anton Ponovescu

On a Slackware 4.0 using jdk1.2 downloaded from blackdown (it states that is 
compiled on a Debian on which it works) when I try to compile the easiest 
program ever written in java: Hello.java I get the next error:

/usr/jdk1.2/bin/i386/native_threads/javac: error in loading shared libraries
/lib/libpthread.so.0: undefined symbol: __libc_rewinddir

What could it be wrong? I have libc.so.5.4.46, libc.so.6, libdl.so.2 and I 
think anything should be ok. Is there any path or something else that I 
should set for to this to work?

__
Get Your Private, Free Email at http://www.hotmail.com


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



Where/When is a new release? (Big News!)

1999-09-07 Thread Mark Wielaard

Hi,

I saw that the status page says that there have been some big improvements
in the recent Blackdown port.



> Big news!
> We've made significant progress with the problems plaguing the native
> threads implementation. Some core parts of the native threads library
> have been reimplemented to better utilize Linux threads. We also believe
> we have discovered whyinterrupts were being "lost", and understand how
> to work around the problems. 

But I can not find this new version. Is there a new version already?
We have an application that uses JDK1.2 and currently doesn't run on the
Blackdown JDK because of Thread/Socket/Interrupt issues so we really like
to test this new version.

Thanks,

Mark


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



Destroying the object

1999-09-07 Thread ALPESH KOTHARI

Hi all,

I have got a small problem. Consider the situation:

file1.java
class file1{
public file1{

create an object of class type file2
}
}

file2.java
class file2{
public file2{

//here i want to destroy the object of type file1, i.e. say if i have
create a frame in file1.java then in file2.java i want to destroy it.

}
}

Any Ideas??
Thanking You all,

ALpesh




===
KOTHARI ALPESH D.
STUDENT M. TECH.
CEDT
INDIAN INSTITUTE OF SCIENCE
BANGALORE-560 012
INDIA
__
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


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



Re: Where/When is a new release? (Big News!)

1999-09-07 Thread Rachel Greenham

Mark Wielaard wrote:
> 
> Hi,
> 
> I saw that the status page says that there have been some big improvements
> in the recent Blackdown port.
> 
> 
> 
> > Big news!
> > We've made significant progress with the problems plaguing the native
> > threads implementation. Some core parts of the native threads library
> > have been reimplemented to better utilize Linux threads. We also believe
> > we have discovered whyinterrupts were being "lost", and understand how
> > to work around the problems.
> 
> But I can not find this new version. Is there a new version already?
> We have an application that uses JDK1.2 and currently doesn't run on the
> Blackdown JDK because of Thread/Socket/Interrupt issues so we really like
> to test this new version.

Odd, I thought pre-v2 was the version that was already out. I think
that's what I've been running for months...

java version "1.2"
Classic VM (build Linux_JDK_1.2_pre-release-v2, green threads,
nojit)   

Hmm. Someone's made a boo-boo.

-- 
Rachel


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



Re: Where/When is a new release? (Big News!)

1999-09-07 Thread Ted Neward

I thought I downloaded pre-v3 just a few weeks ago; "java -version" still
reports itself as v2, though.

BTW, there's a libsunwjit.so file in my java distribution, but it's not
marked executable; do I have to make it executable myself to take advantage
of it? ("java" keeps telling me there's no JIT installed.)

Ted Neward
Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here
http://www.javageeks.com/~tneward
 "I don't even speak for myself; my wife won't let me." --Me

-Original Message-
From: Rachel Greenham <[EMAIL PROTECTED]>
To: Mark Wielaard <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, September 07, 1999 6:22 AM
Subject: Re: Where/When is a new release? (Big News!)


>Mark Wielaard wrote:
>>
>> Hi,
>>
>> I saw that the status page says that there have been some big
improvements
>> in the recent Blackdown port.
>>
>> 
>>
>> > Big news!
>> > We've made significant progress with the problems plaguing the native
>> > threads implementation. Some core parts of the native threads library
>> > have been reimplemented to better utilize Linux threads. We also
believe
>> > we have discovered whyinterrupts were being "lost", and understand how
>> > to work around the problems.
>>
>> But I can not find this new version. Is there a new version already?
>> We have an application that uses JDK1.2 and currently doesn't run on the
>> Blackdown JDK because of Thread/Socket/Interrupt issues so we really like
>> to test this new version.
>
>Odd, I thought pre-v2 was the version that was already out. I think
>that's what I've been running for months...
>
>java version "1.2"
>Classic VM (build Linux_JDK_1.2_pre-release-v2, green threads,
>nojit)
>
>Hmm. Someone's made a boo-boo.
>
>--
>Rachel
>
>
>--
>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: Where/When is a new release? (Big News!)

1999-09-07 Thread Nigel Gamble

On Tue, 7 Sep 1999, Mark Wielaard wrote:
> I saw that the status page says that there have been some big improvements
> in the recent Blackdown port.
> 
> 
> 
> > Big news!
> > We've made significant progress with the problems plaguing the native
> > threads implementation. Some core parts of the native threads library
> > have been reimplemented to better utilize Linux threads. We also believe
> > we have discovered whyinterrupts were being "lost", and understand how
> > to work around the problems. 
> 
> But I can not find this new version. Is there a new version already?

No, a new version hasn't yet been released.  This is just a progress
report.

Nigel Gamble[EMAIL PROTECTED]
Mountain View, CA, USA. http://www.nrg.org/


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



Re: Where/When is a new release? (Big News!)

1999-09-07 Thread Nathan Meyers

Ted Neward wrote:
> 
> I thought I downloaded pre-v3 just a few weeks ago; "java -version" still
> reports itself as v2, though.
> 
> BTW, there's a libsunwjit.so file in my java distribution, but it's not
> marked executable; do I have to make it executable myself to take advantage
> of it? ("java" keeps telling me there's no JIT installed.)

Yes. It was an error in the packaging. The same package included a bunch
of font files that were incorrectly made readable only by owner.

Nathan


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



Web page was updated

1999-09-07 Thread Dallas C. Hockley

Greetings all,

I was just noticing that the team did issue a slight update on the 1.2
status page, stating that many of the issues regarding native threads
have been solved, and progress is being made.  Unfortunately, there's no
rough dates or milestones given, and there aren't any new patches or
releases mentioned.  But it's the first progress report I've seen in
recent memory.

Dallas


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



Javac error

1999-09-07 Thread Smiley, Jr., Edward

I recently downloaded the a Blackdown JDK rpm for 1.1.7 version 1a.  When I
try to run the complier I get the following error:

/usr/local/jdk117_v1a/bin/java: error in loading shared libraries:
/usr/local/jdk117_v
1a/lib/i686/green_threads/libjava.so: undefined symbol: _dl_symbol_value

Can anyone help me with figuring this out.

Thanks!
Ed Smiley


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



Re: Where/When is a new release? (Big News!)

1999-09-07 Thread Rachel Greenham

Ted Neward wrote:
> 
> I thought I downloaded pre-v3 just a few weeks ago; "java -version" still
> reports itself as v2, though.

THe FTP site still only goes up to pre-v2.

-- 
Rachel



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



signal handler, JNI?

1999-09-07 Thread Isaac Elias

I want to be able to catch SIGINTs...

When i run the VM with green threads it all works but running it with native threads 
is something I have huge problems with

What I want is that the signal handler only get called once, but since it is native 
threads it seems as if it is called once for every thread even though only one thread 
called "signal(SIGINT,sig_int)" (sigblock doesn't work since there are separate 
threads). This works fine as long as my signal handler doesn't do anything, however 
when I call a java method from the c code i segfault due to multiple signals result in 
the java method is called severall times (i think).

greatfull for all help.
/isaac 


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



Re: Javac error

1999-09-07 Thread Yohans Mendoza

which linux dist. are you using?


~
Yohans Mendoza  Unix Administrator
[EMAIL PROTECTED]Sirius Images Inc.  
http://www2.utep.edu/~yohanshttp://www.sirius-images.net 
~

On Tue, 7 Sep 1999, Smiley, Jr., Edward wrote:

> I recently downloaded the a Blackdown JDK rpm for 1.1.7 version 1a.  When I
> try to run the complier I get the following error:
> 
> /usr/local/jdk117_v1a/bin/java: error in loading shared libraries:
> /usr/local/jdk117_v
> 1a/lib/i686/green_threads/libjava.so: undefined symbol: _dl_symbol_value
> 
> Can anyone help me with figuring this out.
> 
> Thanks!
> Ed Smiley
> 
> 
> --
> 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]



SV: signal handler, JNI?

1999-09-07 Thread Isaac Elias

I found a "workaround" by checking the pid in the signal handler to that of the 
process that  called signal(SIGINT,sig_int)

static void
sig_int(int i){
  printf("C:IN sig int with block\n");
sigblock(SIGINT);
  if(callpid==getpid())
(*globalenv)->CallStaticVoidMethod(globalenv,cls,mid);
}

/isaac


-Ursprungligt meddelande-
Från: Isaac Elias <[EMAIL PROTECTED]>
Till: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Datum: den 8 september 1999 00:54
Ämne: signal handler, JNI?


I want to be able to catch SIGINTs...

When i run the VM with green threads it all works but running it with native threads 
is something I have huge problems with

What I want is that the signal handler only get called once, but since it is native 
threads it seems as if it is called once for every thread even though only one thread 
called "signal(SIGINT,sig_int)" (sigblock doesn't work since there are separate 
threads). This works fine as long as my signal handler doesn't do anything, however 
when I call a java method from the c code i segfault due to multiple signals result in 
the java method is called severall times (i think).

greatfull for all help.
/isaac 


--
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: Where/When is a new release? (Big News!)

1999-09-07 Thread Cliff Baeseman

This is really great news!  I am looking forward to the 1.2 release.

I am currently developing a new Open Source desktop shell based on 1.2.  I
currently have a limited version running on windows and NT as well as 2000
and am just waiting for the linux release to debut the product source.  It
does not do much yet, had to get thru some technical issues before getting
started. I call it UDSThe Unified Desktop Shell

Goodbye Windows ;)

Go figure the exact same desktop no matter what base operating system you
are running.

Keep up the good work guys it's going to get real fun real soon!

Cliff Baeseman


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



RE: Javac error and ANOTHER QUESTION

1999-09-07 Thread Smiley, Jr., Edward

 I did that and it worked great.  Thanks!  I just have two other problems.
Everytime I want to run the complier I have to say the following:

$ /usr/local/jdk117_v3/bin/javac hw01_FirstProgram.java

I know that there is some way to make a path so you only have to say
 javac hw01_FirstProgram.java?  I tried the example that was given in the
readme and it did not work.

Also, how do I get rid of the Version 1 of Blackdown JDK?  Do I just have to
go in and delete everything?

Thanks for all the help!!

Ed Smiley

-Original Message-
From: Michael Sinz
To: [EMAIL PROTECTED]; Smiley, Jr., Edward
Sent: 9/7/99 5:58 PM
Subject: Re: Javac error

On Tue, 7 Sep 1999 16:22:13 -0400, Smiley, Jr., Edward wrote:

>I recently downloaded the a Blackdown JDK rpm for 1.1.7 version 1a.
When I
>try to run the complier I get the following error:
>
>/usr/local/jdk117_v1a/bin/java: error in loading shared libraries:
>/usr/local/jdk117_v
>1a/lib/i686/green_threads/libjava.so: undefined symbol:
_dl_symbol_value

You should get the Blackdown JDK 1.1.7 v3 release.

The glibc2.1 release broke some things that used to work in glibc2.0
with one of them being the _dl_symbol_value stuff needed for dl locking.


-- 
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: Javac error and ANOTHER QUESTION

1999-09-07 Thread -=Steve-o=-

I think it was either

export PATH=/usr/local/jdk117_v3/bin:$PATH
or 
setenv PATH /usr/local/jdk117_v3/bin:$PATH

Steve.
**
Please email replies to:[EMAIL PROTECTED]
as when I leave Lancaster in a few weeks, the current 
address will be wrong.  Just so you know. Thanks...;-)
**
> 
> $ /usr/local/jdk117_v3/bin/javac hw01_FirstProgram.java
> 
> I know that there is some way to make a path so you only have to say
>  javac hw01_FirstProgram.java?  I tried the example that was given in the
> readme and it did not work.
> 
> Also, how do I get rid of the Version 1 of Blackdown JDK?  Do I just have to
> go in and delete everything?
> 
> Thanks for all the help!!
> 
> Ed Smiley
> 
> -Original Message-
> From: Michael Sinz
> To: [EMAIL PROTECTED]; Smiley, Jr., Edward
> Sent: 9/7/99 5:58 PM
> Subject: Re: Javac error
> 
> On Tue, 7 Sep 1999 16:22:13 -0400, Smiley, Jr., Edward wrote:
> 
> >I recently downloaded the a Blackdown JDK rpm for 1.1.7 version 1a.
> When I
> >try to run the complier I get the following error:
> >
> >/usr/local/jdk117_v1a/bin/java: error in loading shared libraries:
> >/usr/local/jdk117_v
> >1a/lib/i686/green_threads/libjava.so: undefined symbol:
> _dl_symbol_value
> 
> You should get the Blackdown JDK 1.1.7 v3 release.
> 
> The glibc2.1 release broke some things that used to work in glibc2.0
> with one of them being the _dl_symbol_value stuff needed for dl locking.
> 
> 
> -- 
> 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]
> 
> 


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



test please ignore

1999-09-07 Thread Michael Holst

test


Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.


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