Re: [Q] CLASSPATH, JAR searching, etc

1999-09-21 Thread Jeff Galyan
dave madden wrote: > ... > find classes there, but is there any more to it? Why are there so > many .jar files? Why are some in ...java/lib, and others in (and > under) ...java/jre/lib? Is it a Bad Idea to unpack them all into a > master tree, then make a giant .jar containing all the .class fi

No such file?

1999-09-21 Thread [EMAIL PROTECTED]
Here's the error: $ java /usr/local/jdk1.2/jre/bin/realpath: /usr/local/jdk1.2/jre/bin/i386/realpath: No such file or directory /usr/local/jdk1.2/jre/bin/realpath: /usr/local/jdk1.2/jre/bin/i386/realpath: No such file or directory /usr/local/jdk1.2/bin/java: /usr/local/jdk1.2/bin/i386/native_thr

Re: [Q] CLASSPATH, JAR searching, etc

1999-09-21 Thread Daniel Barclay
> From: dave madden <[EMAIL PROTECTED]> > > Hi. I'm fairly new to Java, but stumbling along quite nicely, thank > you; but I'm confused about how the VM finds stuff mentioned in > CLASSPATH. Is there an "everything you wanted to know" FAQ, the kind > of thing that when you get done reading it

Re: [Q] CLASSPATH, JAR searching, etc

1999-09-21 Thread Daniel Barclay
> From: dave madden <[EMAIL PROTECTED]> > > Hi. I'm fairly new to Java, but stumbling along quite nicely, thank > you; but I'm confused about how the VM finds stuff mentioned in > CLASSPATH. Is there an "everything you wanted to know" FAQ, the kind > of thing that when you get done reading it

Installing JRE on Linux

1999-09-21 Thread Ahbaid Gaffoor
Hello all, I'm trying to install Oracle 8i v 8.1.5 on RedHat Linux 5.1, part of their installation is to download JRE 1.1.6 v5 and create a link to the root directory of the jre installation as /usr/local/jre I did this but, upon doing ./runInstaller nothing happens, My question is: How exca

Re: Capturing stdout.

1999-09-21 Thread Juergen Kreileder
> Neil Clayton writes: Neil> Oh, thought I would provide an explanation of my problem, Neil> just so people know. Neil> The full command was: Neil> sflwl -hlwl.fourmilab.ch:2076 '[EMAIL PROTECTED]' Neil> So this must mean that the VM does not use the *nix shell in

Re: debuggers for Java-JNI-C++

1999-09-21 Thread jools enticknap
Hi I was hoping that somebody might come up with a better solution to the one I currently use ( as it's very flaky ) so I though I'd post the way I debug JNI on Linux. 1) Get a copy of ddd. ( Plase don't post messages as to how you get it, it'll just piss of the rest of the guys ) 2) Us

Capturing stdout.

1999-09-21 Thread Neil Clayton
Oh, thought I would provide an explanation of my problem, just so people know. The full command was: sflwl -hlwl.fourmilab.ch:2076 '[EMAIL PROTECTED]' The argument to sflwl being 1. -hlwl.fourmilab.ch:2076 2. [EMAIL PROTECTED] Which of course works fine in the shell. However; I was us

Re: Fixed (capturing stdout)

1999-09-21 Thread Todd Papaioannou
At 20:52 21/09/99 +1200, Neil Clayton wrote: >Well, sorry to leave so many messages regarding this. >I've worked it out - so problem is now history, and it was nothing to do >with the VM. And the fix was...? cheers Todd --- To

How can I help stuff...

1999-09-21 Thread Larry Gates
Not too long ago, there were 2 volunteers wanting to know how they can help the Linux-Java community and I responded (among many examples) that a Postscript viewer would be a neat, but tough java project. In case anyone started this, better check this out: On Thu, 12 Aug 1999 08:17:59 -0400 (ED

Installation..

1999-09-21 Thread Raj Patel
Hi, I am running Linux Redhat 5.2. I just downloaded jdk1.2pre-v2.tar.bz2. Is that the suitable latest version? Can i get installation instruction? begin: vcard fn: Rajesh Patel n: Patel;Rajesh org:Lockheed Martin Information Systems adr

Re: Downloading the IBM JDK 1.1.8. Any Luck?

1999-09-21 Thread John N. Alegre
Actually I think it depends on the day or the phase of the moon or somesuch. I just tried it again, same browser, same mime types and it worked first try. ?? john On 20-Sep-99 Pete Toscano wrote: > likewise. i tried the "if you experience a problem" link too, but that > was useless. > > p

Re: debuggers for Java-JNI-C++

1999-09-21 Thread Juergen Kreileder
> Paul Beardsley writes: Paul> OK, but I'm running Java 2 SDK so I think I don't have Paul> access to a java_g - is there an alternative Paul> approach for Java 2? Use 'java' or download jdk1.2pre-v2-debug.tar.bz2 which contains 'java_g'. Paul> Juergen Kreileder writes:

Re: debuggers for Java-JNI-C++

1999-09-21 Thread Paul Beardsley
OK, but I'm running Java 2 SDK so I think I don't have access to a java_g - is there an alternative approach for Java 2? Paul. Juergen Kreileder writes: > > Paul> Thanks, but how do I do that first step of > Paul> running a JVM under Java - is there a C > Paul> executable so

Re: JDK 1.2 library problem

1999-09-21 Thread Juergen Kreileder
> Pierre Heroux writes: Pierre> I am using jdk1.2 Classic VM (build Linux_JDK_1.2_pre-release-v2 Pierre> glibc2.1, native threads, nojit)on RedHat 5.2. Pierre> I compile a C++ code which invoke JavaVM. Pierre> g++ simple.cpp -I/usr/local/jdk1.2/include -ljava Pierre> I g

Re: debuggers for Java-JNI-C++

1999-09-21 Thread Juergen Kreileder
> Paul Beardsley writes: Paul> Thanks, but how do I do that first step of Paul> running a JVM under Java - is there a C Paul> executable somewhere that runs a JVM, Paul> so that I can gdb that executable? $ DEBUG_PROG=gdb java_g ... (gdb) run Paul> Gregory Steuck write

Re: JDK 1.2 library problem

1999-09-21 Thread Harri Sunila
On Tue, 21 Sep 1999, Pierre Heroux wrote: > I am using jdk1.2 Classic VM (build Linux_JDK_1.2_pre-release-v2 > glibc2.1, native threads, nojit)on RedHat 5.2. > > I compile a C++ code which invoke JavaVM. > g++ simple.cpp -I/usr/local/jdk1.2/include -ljava > > I get the following message > > /u

Re: JDBC

1999-09-21 Thread Peter Pilgrim
[EMAIL PROTECTED] wrote: > > Thanks for the help so far regarding the JDBC-ODBC bridge. > > I have down loaded the mm.mysql driver for JDBC, which after reading the > docs, this is a class IV driver. Does this mean that it DOES NOT require the > ODBC bridge. Cos if does why is JRE still asking

Re: [Problem with JNI_CreateJavaVM()]

1999-09-21 Thread Juergen Kreileder
> Ted Neward writes: Ted> Pierre, I'm running RH5.2 and Blackdown 1.2-pre-v2, and the Ted> code compiled (I had to add the "-I" include directives, Ted> though--your g++ command-line below was missing those, but Ted> that would yield a compile-time error, and not a run-time

Re: JDK 1.2 library problem

1999-09-21 Thread Andreas Jaeger
On Tue, 21 Sep 1999, Pierre Heroux wrote: > I am using jdk1.2 Classic VM (build Linux_JDK_1.2_pre-release-v2 > glibc2.1, native threads, nojit)on RedHat 5.2. RedHat 5.2 comes with glibc 2.0.7 and not with glibc 2.1.x. Please get the correct JDK release for your platform. > I compile a C++ co

Re: debuggers for Java-JNI-C++

1999-09-21 Thread Paul Beardsley
Thanks, but how do I do that first step of running a JVM under Java - is there a C executable somewhere that runs a JVM, so that I can gdb that executable? Thanks, Paul. Gregory Steuck writes: > > Yeah, run JVM under gdb and set a breakpoint inside of your native code. > You have to be fam

JDK 1.2 library problem

1999-09-21 Thread Pierre Heroux
I am using jdk1.2 Classic VM (build Linux_JDK_1.2_pre-release-v2 glibc2.1, native threads, nojit)on RedHat 5.2. I compile a C++ code which invoke JavaVM. g++ simple.cpp -I/usr/local/jdk1.2/include -ljava I get the following message /usr/local/jdk1.2/jre/lib/i386/native_threads/libhpi.so: undefi

Fixed (capturing stdout)

1999-09-21 Thread Neil Clayton
Well, sorry to leave so many messages regarding this. I've worked it out - so problem is now history, and it was nothing to do with the VM. Cheers, Neil Clayton -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "u

JDBC

1999-09-21 Thread Nicholas.Knight
Thanks for the help so far regarding the JDBC-ODBC bridge. I have down loaded the mm.mysql driver for JDBC, which after reading the docs, this is a class IV driver. Does this mean that it DOES NOT require the ODBC bridge. Cos if does why is JRE still asking for it Thanks Nick