Re: libjava.so: cannot open shared object file

1999-12-14 Thread gerd

   Sender: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
   From: Juergen Kreileder <[EMAIL PROTECTED]>
   Date: 13 Dec 1999 10:03:39 +0100
   Organization: Blackdown Java-Linux Porting Team

   > gerd  writes:

   gerd> [muster@192 muster]$ DEBUG_PROG=ldd java
   gerd> java: error in loading shared libraries: 
/usr/local/jdk117_v1a/lib/i686/green_threads/libjava.so: undefined symbol: 
_dl_symbol_value

   You need 1.1.7-v3 or higher.


Thank you! That worked (We wanted to try that earlier, but since the
old version was distributed on the Halloween III CD, we believed
that it should run on this distribution...)

Gerd

-- 
Gerd Räther Tel:+49 6227/8642-30
systron Unternehmensberatung GmbH   FAX:+49 6227/8642-22 
Opelstraße 8c   e-mail: [EMAIL PROTECTED]   
68789 St. Leon-Rot  url:http://www.systron.de




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



Re: RMI without http server?

1999-12-14 Thread Peter Pilgrim



[EMAIL PROTECTED] wrote:
> 
> > [jape@jaguar test2]$  java
> > -Djava.rmi.server.codebase=file:/usr/home/jape/ test2.Server
> >
> > main
> > remote exception in main
> > java.rmi.ServerException: Server RemoteException; nested exception is:
> > java.rmi.AccessException: Registry.rebind
> > after main
> >
> >
> 
> just wondering if yu have a java security policy file ??
> 
> maybe try placing this file in your home directory :-
> 
> >cat .java.policy
> /* AUTOMATICALLY GENERATED ON Wed Mar 10 20:30:42 GMT+10:30 1999*/
> /* DO NOT EDIT */
> 
> grant {
>   permission java.security.AllPermission;
> };
> >

Also read the RMI FAQ http://java.sun.com/products/jdk/rmi/
about starting the rmiregistry so that
it doesnot find your classes. Especially important 
If you want the java.rmi.server.codebase property to work.
The rmiregistry will be then forced to use the specified codebase
to download the server stub to a connecting RMI client.
You need to do if you are going to run RMI from the web applet.

In another xterm
% unset CLASSPATH
% rmiregistry &

-- 

Adios
Peter

-
import std.Disclaimer;  // More Java for your Lava, Mate.
T H ER E D   A R M Y! ! !   http://www.manutd.com/


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



Installer chooser

1999-12-14 Thread Dustin Lang


Hi,

A little while back I was talking about writing a program to check a
user's system and from that information decide what JDK version they
should get.  I was being stubborn about writing it in C, but I got over
that fairly quickly :)  I'm now working on a shell script that looks at
libc versions.  I've gotten to the point where I have to start adding some
brains: some actual information about what JDK version is recommended.
There are a few things I need to know:
-The README in the JDK I have on my local system says that if the
person has both libc5 and glibc, they should grab the glibc, but libc5
should work also.  Based on my own experience, where I hand-upgraded glibc
and kept libc5 around also, this is true.  Any counter-examples?
-Do you suppose I should suggest the JDK that depends on the
highest compatible (g)libc version?  This seems reasonable to me, but
there may be reasons to not do so...
-I was planning to find out if the user is running a certain
distribution and version..  So far I have information about a couple of
systems I have contact with.  RedHat seems to put a file
"/etc/redhat-version" with text like "RedHat 5.0 (Hurricane)".  Debian
seems to have a file "/etc/debian_version" with text like "2.1".  (I'm
doing this from memory, so I could be slightly wrong).  As far as I can
see, Slackware (at least the versions I run - old) has no particular
identifying marks that are easy to find.  If people want to provide me
with additional information about distributions that have particular
identifying marks and available java packages, send me the URL of the
package and how to identify the distribution.

My basic plan is for the final output to be something like this:
You are running an ix86 system with libc5 and glibc2 installed.
Your glibc version is 2.0.7.
You appear to be running Debian 2.1.

Based on this information, I would suggest these JDK 1.1 packages,
in this order:
ftp://ftp.debian.org/blah/jdk-1.1.8-blah-.deb
...
If you're the sort of person who likes to grab source and compile
it yourself, you're out of luck in this case, (Sun SCSL == evil)
but you can grab these tar-gz binaries:
ftp://metalab.unc.edu//
...
As for JDK 1.2 (Java 2) packages, here's what you should grab:
ftp://
And for JDK 1.2 (Java 2) tar-gz binaries:
ftp://...

Have a ducky day!

Should I bother mentioning JDK 1.0 ?

In each major JDK version, I was planning to list both packages, if
available, or tar-gz binaries.  I would list the native package format
first, and then any other compatible package formats (eg, for Debian, list
.deb and then .rpm and others that "alien" can read).

I'd also like to make a quick check for possible pitfalls that show up on
the mailing list a lot.  For example, check if the person has X installed,
if not, suggest virtual framebuffer if they need to use AWT for
server-side stuff.  Also, maybe check XF86Config for problems with
incompatible color depth?

Any other suggestions for pitfalls to check for?  Should I be checking
other libraries required by the JDK like libXpm and other X libs?

Thanks for your input!

dstn.



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



Re: Installer chooser

1999-12-14 Thread Trent Jarvi

I've got a fair amount of 'autobreak' logic in a
configure.in script shipped with rxtx if your
interested.  I would not mind sharing that in hopes of
getting away from a few hundred emails a year.

> Should I bother mentioning JDK 1.0 ?

In my opinion 1.0 is a waste of time.

Trent Jarvi
[EMAIL PROTECTED]
__
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com


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



redhat 6.1 JDK1.2.2 RC3 JNI_CreateJavaVM core dump

1999-12-14 Thread Xiaotian Guo

Hi folks,
   I have been trying to get JNI_CreateJavaVM work on
RH6.1 for quite a while without any luck, everytime
when I call JNI_CreateJavaVM, the program core dumped.
I tried both the JDK 1.1 and 1.2 way to call
JNI_CreateJavaVM. all core dumped. but jdk itself
works fine, I can run all demos without any problem.
   


__
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com


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