Re: [beginners question]Howto include (.jar) libraries ?!

2006-08-03 Thread Sam Varshavchik
paul asmuth writes: hey, I'm trying to include a library (e.g the jdom lib - jdom.jar) into a installed blackdown j2se sdk. How can I include libraries, so that they are used when I compile classes ?! I already copied my .jar libs to usr/lib/j2se/1.4/lib and /usr/lib/j2se/1.4/jre, b

[beginners question]Howto include (.jar) libraries ?!

2006-08-03 Thread paul asmuth
hey, I'm trying to include a library (e.g the jdom lib - jdom.jar) into a installed blackdown j2se sdk. How can I include libraries, so that they are used when I compile classes ?! I already copied my .jar libs to usr/lib/j2se/1.4/lib and /usr/lib/j2se/1.4/jre, but it didn

Minimum X libraries to run Java guis

2004-10-26 Thread Aflyctus N.E.B.
What X libraries do I need in order to run Java guis in linux? I would prefer not to have to install the entire X11 package (space is limited). Thanks -aflyctus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

ARM libraries in big-endian format

2001-08-02 Thread Pinkney, John
Title: ARM libraries in big-endian format Hi I am currently looking at embedding Java on the Intel IXP1200 which has a StrongARM core. I am running the Netwinder Linux which is currently configured for big-endian format. Are there any plans to release the ARM JRE 1.3.1 libraries in

Re: Addional libraries with JavaPlugin 1.2.2

2000-06-26 Thread Juergen Kreileder
>>>>> "Lars" == Lars Lathan <[EMAIL PROTECTED]> writes: Lars> I copied addional libraries (jndi.jar, rmiregistry.jar, Lars> providerutil.jar) to the $HOME/.netscape/java/lib/ext Lars> directory, but the plugin doesn't find them. What

Addional libraries with JavaPlugin 1.2.2

2000-06-26 Thread Lars Lathan
Hello, I copied addional libraries (jndi.jar, rmiregistry.jar, providerutil.jar) to the $HOME/.netscape/java/lib/ext directory, but the plugin doesn't find them. What goes wrong? Thanks, Lars. -- To UNSUBSCRIBE, ema

Servlet libraries

2000-03-24 Thread Alan Westhagen
Trying to compile the example on p.714 of Nathan Meyers' book, I get errors in lines 1 and 2 import javax.servlet.*; import javax.servlet.http.*; The error message for line 1 is: SimpleServlet.java:1: Package javax.servlet not found in import. Since other correct java programs comp

Re: Servlet libraries

2000-03-24 Thread John Rousseau
On Friday Mar 24, 2000, Alan Westhagen wrote: > SimpleServlet.java:1: Package javax.servlet not found in import. You need to get servlet.jar to do servlet work. It doesn't come with the J2SE. Look under... http://java.sun.com/products/servlet/index.html -John

Java web Servew libraries

2000-01-19 Thread Roger Smith
Hey all I installed Suns Java Web Server on my Redhat Linux box, but when I start it, I get an error that says: libserver.so: cannot open shared object file: No such file or directory (libserver.so) javawebserver: libjssl.so: cannot open shared object file: No such file or directory (libjssl.so)

Missing shared X libraries

1999-12-29 Thread Friedman Roy
Hi, I installed JDK 118 on an Alpha Linux RH6.0 machine. However, when I try to invoke swing classes I get an error message that libawt.so canot locate libXm.so.1. Is there any simple solution to this? Is this a glibc or XFree86 problem? Any help would be much appreciated. Roy ---

Re: error loading shared libraries

1999-12-11 Thread Felix Tang
> > i have a problem executing the JVM for JDK 1.2.2 RC3. When I try > to start the JVM (thru ./bin/java), I get the following error message: > > "/usr/local/jdk1.2.2/bin/i386/native_threads/java: error in loading > shared libraries: > /usr/local/jdk1.2.2/jre/lib/i386/nati

error loading shared libraries

1999-12-11 Thread Raghu Havaldar
Hi, i have a problem executing the JVM for JDK 1.2.2 RC3. When I try to start the JVM (thru ./bin/java), I get the following error message: "/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/libphi.so: s

Availability of Colt 1.0 Beta 4 - Open Source Libraries for High Performance for Scientific and Technical Computing in Java

1999-11-30 Thread Wolfgang HOSCHEK
Colt distribution consists of several free Java libraries, for user convenience bundled under one single uniform umbrella. The Colt library provides fundamental general-purpose data structures optimized for numerical data, such as resizable arrays, dense and sparse matrices (multi-dimensional ar

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:

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/

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

Libraries

1999-11-12 Thread Vida Luz
Hi all I am test JDK1.2 y when run java -version, I have error with with libhpi.so, the error is: /var/opt/jdk1.2/bin/i386/native_threads/javac: error in loading shared libraries libhpi.so: cannot open shared object file: No such file or directory I need to know because this error in shared

Re: required Libraries

1999-10-08 Thread Jeff Galyan
Okay, here's how I understand the Blackdown builds of the VM: there is a fully dynamic version and a static version. To switch between them, you set an environment variable (I think). If you want to use the dynamically-linked VM, you have to have both X and Motif shared libraries on your s

Re: required Libraries

1999-10-06 Thread Paolo Ciccone
namely the AWT Frame, to do basic communication with the underlying GUI. This is true for all platforms. >They don't need X libraries and work "directly" with OS and hardware. This is simply not true. Swing does not have any interface with the hardware, that would make it

Re: required Libraries

1999-10-06 Thread Nathan Meyers
Jacob Nikom wrote: > > Hi, > > I am interested in this discussion, but I am trying to convert it into > more > plain English. I always thought that the lightweight components are > peerless. > They don't need X libraries and work "directly" with OS and har

Re: required Libraries

1999-10-06 Thread Jacob Nikom
Hi, I am interested in this discussion, but I am trying to convert it into more plain English. I always thought that the lightweight components are peerless. They don't need X libraries and work "directly" with OS and hardware. Swing was claimed as lightweight component based

Re: required Libraries

1999-10-05 Thread Nathan Meyers
Jeff Galyan wrote: > > Java *always* requires Motif and X libraries. Even on Solaris. End of > story. "Requires" meaning that Blackdown requires an *external* libXm? Not necessarily. JDK1.2pre2 certainly doesn't (libXm appears to be statically linked into libawt.so),

Re: required Libraries

1999-10-05 Thread Chris Abbey
At 20:52 10/5/99 -0600, Jeff Galyan wrote: >Java *always* requires Motif and X libraries. Even on Solaris. End of >story. And thus the blackdown port is more advanced than the Solaris release. I'd highly recommend that you investigate the "not-static" binaries, these have n

Re: required Libraries

1999-10-05 Thread Jeff Galyan
Java *always* requires Motif and X libraries. Even on Solaris. End of story. --Jeff Carsten Hoeger wrote: > > On Sat, Oct 02, Jeff Galyan wrote: > > > Actually, libXm.so is Motif, which is required by AWT, and therefore > > Java. You'll need to get a Motif distri

Re: "proper" place for the .so native libraries

1999-10-05 Thread dave madden
=>From: "Ted Neward" <[EMAIL PROTECTED]> =>... =>Does "had good luck" mean without having to modify LD_LIBRARY_PATH? Or =>/etc/ld.so.conf? Yes. If you run the java script with "sh -x" (you have to give it the full path to the script, too, IIRC) you'll see that it calculates a CLASSPATH and a

Re: "proper" place for the .so native libraries

1999-10-04 Thread Ted Neward
From: dave madden <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, September 30, 1999 3:04 PM Subject: Re: "proper" place for the .so native libraries > =>From: Brett Smith <[EMAIL

Re: required Libraries

1999-10-03 Thread Carsten Hoeger
of the java vm. The dependency to libXm results from the dynamical linked version. The static linked version of java _does_ _not_ _need_ Motif Runtime Libraries!!! -- mit freundlichen Gruessen, Carsten Hoeger - SuSE Professional Services - SuSE GmbH, Schanzaeckerstr. 10, 90443 Nuernberg, G

Re: required Libraries

1999-10-02 Thread Jeff Galyan
Actually, libXm.so is Motif, which is required by AWT, and therefore Java. You'll need to get a Motif distribution (I use RedHat Motif 2.1.10 with no problems). --Jeff Carsten Hoeger wrote: > > On Tue, Sep 28, Rolf wrote: > > > I am running a SuSe Linux 6.1 on my box and have libc 2 installe

Re: "proper" place for the .so native libraries

1999-09-30 Thread dave madden
=>From: Brett Smith <[EMAIL PROTECTED]> =>... =>Where is the "proper" location for the *.so native library files? I've had good luck putting them under: .../jdk-1.2/jre/lib/i386/ appropriate platform here! =>One JNI tutorial said the following: =>LD_LIBRARY_P

"proper" place for the .so native libraries

1999-09-30 Thread Brett Smith
Where is the "proper" location for the *.so native library files? One JNI tutorial said the following: LD_LIBRARY_PATH='pwd' export LD_LIBRARY_PATH When I tried this, it caused a "full thread dump" upon calling the native method. Any ideas why? Also, does the blackdown install set a LD_LIBRARY_

RE: required Libraries

1999-09-28 Thread Burkhart,Kelly
Isn't libXm the motif lib? Try using the static motif JDK or installing motif. Does the JDK work with lesstif? > -Original Message- > From: Rolf [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 28, 1999 5:26 AM > To: [EMAIL PROTECTED] > Subject: required

Re: required Libraries

1999-09-28 Thread Carsten Hoeger
On Tue, Sep 28, Rolf wrote: > I am running a SuSe Linux 6.1 on my box and have libc 2 installed on my > system. > When I try to install JDK 1.1.1 using rpm, I get the message libXm.so.2 > is needed by jdk1.1-1.1.7v1a-3. Where do I get this library ? Try 'rpm --nodeps --force yourrpmname.rpm'...

required Libraries

1999-09-28 Thread Rolf
Hi, I am running a SuSe Linux 6.1 on my box and have libc 2 installed on my system. When I try to install JDK 1.1.1 using rpm, I get the message libXm.so.2 is needed by jdk1.1-1.1.7v1a-3. Where do I get this library ? MfG Rolf --

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

Re: loading shared libraries

1999-08-28 Thread Sheng-Yih Wang
CTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 28, 1999 6:41 PM Subject: loading shared libraries > I'm having trouble loading a JNI library from a nonstandard location. > I'm using the following code: > > static { > System.setProperty("java.l

loading shared libraries

1999-08-28 Thread Solomon Douglas
I'm having trouble loading a JNI library from a nonstandard location. I'm using the following code: static { System.setProperty("java.library.path", System.getProperty("java.library.path") + ":/home/srcd/foo"); System.err.println(System.getP

Re: question about loading system libraries

1999-06-15 Thread Anonymous
Sumit Gupta wrote: > > hi > > I am running jdk1.1.7 on redhat. I have a native library called > libfoo.so and my LD_LIBRARY_PATH includes the directory where this > library is. BUt System.loadNativeLibrary("foo") is still not able > to find the library. Perhaps you should try to make symbolic

question about loading system libraries

1999-06-15 Thread Anonymous
hi I am running jdk1.1.7 on redhat. I have a native library called libfoo.so and my LD_LIBRARY_PATH includes the directory where this library is. BUt System.loadNativeLibrary("foo") is still not able to find the library. Are there different conventions as to how the name "foo" is mapped to the a

problem with libraries

1999-05-07 Thread Jean-Laurent SOLTNER
Hello.java: /usr/local/jdk117_v1a/bin/../bin/i686/green_threads/java: error in loading shared libraries: /usr/local/jdk117_v1a/bin/../lib/i686/green_threads/libjava.so: undefined symbol: _dl_symbol_value --- result of l

Re: Still troubles with the libraries and jdk1.2

1999-04-13 Thread Kontorotsui
On 12-Apr-99 Matthew McKeon wrote: > Is your LD_PRELOAD environment variable set? No, it isn't. At least, I didn't set it. Could it be set up by the .java_wrapper script? > I had to set mine to point to the libstdc++ libs > for another application I had installed, > and that broke the JDK most

Re: Still troubles with the libraries and jdk1.2

1999-04-12 Thread Matthew McKeon
not to be the standard problem with > missing libraries, because I get a Segmentation Fault, not a missing or wrong > library message. > [kersnip] Is your LD_PRELOAD environment variable set? I had to set mine to point to the libstdc++ libs for another application I h

Re: Still troubles with the libraries and jdk1.2

1999-04-10 Thread Kontorotsui
On 10-Apr-99 Gerald de Jong wrote: > all i had to do to get jdk1.2 running on RH 5.2 is make the following > symbolic > link, which i made in the /opt/jdk1.2/jre/lib/i386 directory. I did it, but it doesn't work. It seems not to be the standard problem with missing libraries, b

RE: Libraries troubles with JDK 1.2 (glibc HOWTO)

1999-04-10 Thread Marcel Ruff
Hi, you find all informations about libc/glibc and how to upgrade here: http://www.imaxx.net/~thrytis/glibc/index.old.html Marcel -- Marcel Ruff [EMAIL PROTECTED] http://www.lake.de/home/lake/swand/ -- To UNSUBSCRIBE, ema

Re: Still troubles with the libraries and jdk1.2

1999-04-10 Thread Gerald de Jong
On Sat, 10 Apr 1999, Kontorotsui wrote: > So far, same outcome: Segmentation fault. > I fear I'm not the only one with this frustrating problem, if anybody on this > list solved the problem, I'd like to hear it. > > If someone with a working JDK 1.2 or the developers could please check what is >

Re: Still troubles with the libraries and jdk1.2

1999-04-09 Thread Haruhide Yauskawa
Old RedHat 5.2 has glibc2(libc6). JDK 1.2 supports just glibc2. No problem. Leiji is Reiji in Japan > > I tried another set of glibc libraries, taken from the RedHad FTP directory. > They seem to be glibc 2.0.7, as required from the docs. > > I even tried to add the libs requi

Still troubles with the libraries and jdk1.2

1999-04-09 Thread Kontorotsui
I tried another set of glibc libraries, taken from the RedHad FTP directory. They seem to be glibc 2.0.7, as required from the docs. I even tried to add the libs required by ldd java (attached to this message) o the ldconfig path, as you can check in the attached ldconfig -v output. So far

Libraries troubles with JDK 1.2

1999-04-09 Thread Kontorotsui
I downloaded jdk1.2pre-v1 and installed it. I expected troubles when I saw that the latest libc libraries, the glibc, are required. Now, if I'm not completely mistaken, glibc is the libc6. I had previously installed some libc.so.6 libraries and the ld-linux.so.2. But it didn't work,

JDK 1.2 pre-v1 and new libraries

1999-03-26 Thread Clifford Wolf
Hi, I'm running glibc 2.1, libstdc+++ 2.9.0 (and other _really_new_ libs) under linux 2.2.4. I'm not asking here for a working JKD1.2 preview with support for this libs. I'm asking for a statically-linked binary preview so I can check it out without having to install all the old libs. Is this po

Re: libraries for jdk1.1.7

1999-01-28 Thread Aaron Gaudio
This won't work, because there is no such thing as libX.so.. The X11 libraries are libX11.so.6.1 (give or take a revision number). He forgot the m in libXm.so.2 in his post (I'm almost sure of it), which is the Motif library and you certainly don't want to link that to the X11 l

Re: libraries for jdk1.1.7

1999-01-27 Thread Aaron Gaudio
libX.so.2 is not a Motif library...in fact it's not a library at all. IT doesn't exist. Which makes me think that he meant libXm.so.2, which is the Motif library. If that's the case, then whoever build the RPM made a mistake. They need to either turn off automatic dependancy checking (which would

Re: libraries for jdk1.1.7

1999-01-27 Thread David Harvill
I believe libX.so.2 is a Motif library. Which means that lesstif should have a version of it too. To find it, try '%find / | grep "libX.so.2"' (ignoring the external single-quotes). That will search every directory you have access to for that filename. Personally, I have never used the JDK rpm.

libraries for jdk1.1.7

1999-01-27 Thread C. Javier Castro Peña
I tried to install the jdk1.1.7 rpm, but it asks me for libX.so.2. Where can I find it? My system is RH 5 w/ kernel 2.0.35; is there some problem in trying to run jdk 1.1.7 on this system? I have been developing a java application , and tested it with jdk 1.1.5, and it hangs when I invoke a Jdialo

Re: Installation problem regarding finding .so libraries

1999-01-04 Thread Martin Olveyra
e to add my jdk1.2/jre/lib/i386/ directory but this > only helped a bit. After doing this (and running ldconfif, of course) I now > get errors like... > > LN_SRV01:~ # java > /opt/java/jdk1.2/bin/i386/native_threads/java: error in loading shared > libraries > /opt/java/jdk1.2/j

Installation problem regarding finding .so libraries

1999-01-02 Thread Rainer Mager
only helped a bit. After doing this (and running ldconfif, of course) I now get errors like... LN_SRV01:~ # java /opt/java/jdk1.2/bin/i386/native_threads/java: error in loading shared libraries /opt/java/jdk1.2/jre/lib/i386/libjvm.so: undefined symbol: __bzero So, what's the deal? The

JDK 1.1.6 on shared libraries

1998-12-16 Thread David Martínez Oliveira
hello, I had tried to use JNI whithin a shared library, but I can't start the virtual machine. All works right within a stand-alone application, but we I invoke the jvm from the shared library. Can anubody help me? or point me to what I doing wrong. Sorry for my poor english, and thanks in advan

Numerical Libraries

1998-10-08 Thread Carlos Cassino
Hi. I erased the original mail asking about arbitrary precision calculations in Java so I couldn't use the right subject... Take a look at http://math.nist.gov/javanumerics. Maybe you could find something useful in the "Libraries" section. Hope it can help. Best regards, -- Cassino

JDK + Libraries

1998-08-03 Thread Carlos Cassino
Hello there! I have some C++ code that I put in a dynamic library and I want to use it from Java. Since JDK does not allow me to load two different libraries that depend on each other, I implemented a native method that does the following: 1) Loads libstdc++.so 2) Loads my library 3) Performs

Re: building shared libraries for native

1998-05-26 Thread Duncan Roe
Hi Craig, "info gcc" describes this better. It states that FPIC only makes a difference on the m68k, m88k and the Sparc. N.b. use info! It is kept up to date, while the man page (sometimes) isn't. There was some discussion of how shared libraries work without pic, but I remain be

Re: building shared libraries for native

1998-05-26 Thread B. Craig Taverner
>in ".o". Example:gcc -fPIC -c -I file1.c -o Based solely on looking at other peoples makefiles and code, I've been using -fpic under linux and -fPIC under solaris. The gcc man pages say the following: -fpic If supported for the target machines, generate po sitio

Re: building shared libraries for native

1998-05-23 Thread Ed Roskos
I've written a few shared libraries for use under both Linux and Solaris, and since a few people are curious about this, here goes: 1) Make sure you have run javah. Plenty of documentation on this exists. 2) You must first compile your C source files to object files, which end i

Re: building shared libraries for native

1998-05-22 Thread Duncan Roe
Hi Craig, No, you don't need to compile with -O to build a shared object. But you *do* need to compile with -fpic to get position-independent code. Then use -shared when loading the object, as you already do. I have successfully built a number of shared objects using no other special options (fo

Re: building shared libraries for native

1998-05-22 Thread Felix Morley Finch
>>In article <[EMAIL PROTECTED]>, Craig E Rasmussen ><[EMAIL PROTECTED]> writes: > I'm having trouble getting native calls to work. I'm using JDK-1.1.3 > and the simple HelloWorld example segfaults. My guess is that the > problem is that I'm not creating the shared objects correctly. I'm > us

building shared libraries for native

1998-05-22 Thread Craig E Rasmussen
I'm having trouble getting native calls to work. I'm using JDK-1.1.3 and the simple HelloWorld example segfaults. My guess is that the problem is that I'm not creating the shared objects correctly. I'm using gcc with the -shared option to create an a.out file which I rename to libhello.so. I t

Re: Libraries...[off topic]

1998-05-10 Thread Steve Byrne
Jason Quigley writes: > ---Roger Hill violently bashed keys to produce ... > > I upgraded my libc to 5.4.44 etc the other day, in preparation for 1.1.5. > > > > Since then, 'talk' won't work, giving me: > > > > [Couldn't bind to control socket : Cannot assign requested address (99)] > >