Re: Jar file with JDBC

1999-12-27 Thread Dustin Lang
Hi, > try > { > Class.forName("postgresql.Driver"); > db = DriverManager.getConnection(url, usr, pwd); > st = db.createStatement(); > } > st.executeUpdate(crt); > > //While executing this statement it gives nullpointer It looks as though the driver can

Re: Jar file with JDBC

1999-12-27 Thread ALPESH KOTHARI
Hi, I am using PostgreSQL - 6.5.1 with the JDBC driver compiled from the sources. My machine is RH6.0 with Java-1.2 preV2. I am attatching a portion of my source code where it gives exception String url = "jdbc:postgresql:postgres"; String usr = "postgres"; String pwd = "postgres"; try {

Re: Y2K readiness.

1999-12-27 Thread Dustin Lang
Hi, > I've looked all over blackdown.org for a y2k statement, but > I've found none. Any of you know if there are any y2k issues with > the blackdown ports? (specifically jdk117_v1a). I'm not a member of the porting team, but I can tell you what I think they would tell you. The JDK, like almos

RE: jdk1.2

1999-12-27 Thread Howard Lee
Yes I did download glibc2.1.1 version from blackdown.org. Do I need to download some special library? I'm using Mandrake 6.5 btw which I believe uses glibc 2.1.1 (I checked). Any idea why I'm still having this problem? Thanks everyone! Howard -Original Message- From: Edward W. Rouse [mai

Re: how to extract .tar.bz2 ?

1999-12-27 Thread Jacob Nikom
6. Unzip the file with bzcat bzcat jdk1.2pre-v2-debug.tar.bz2 > jdk1.2pre-v2-debug.tar 7. Untar the file tar xvf jdk1.2pre-v2-debug.tar 8. Set up the path set path = (/homes/nikom/work/java/bin1/jdk1.2/bin $path) Jacob Nikom [EMAIL PROTECTED] wrote: > > I download Blackdown jdk1.2.2: > > jdk-1

Re: Jar file with JDBC

1999-12-27 Thread Peter Mount
On Mon, 27 Dec 1999, ALPESH KOTHARI wrote: > Hello all, > > I have written an application using Java2. It works > fine with JDBC interface. I prepared a jar file of all > the class file as well as 'postgresql.jar'.(I am using > postgresql-6.5 as db). > > At this time it gives null pointer excep

Re: I can compile file1.java but cannot run file1.class in Linux.

1999-12-27 Thread Chris Abbey
then you should use the same commands in Linux as you used in winblows: 'java file1', not 'java file1.class'. This second is looking for a class named 'class' in a package 'file1'. p.s. I'd recommend upgrading to one of the 1.1.8 vms available on the web. At 11:07 12/27/99 -0800, [EMAIL PROTECTE

RE: I can compile file1.java but cannot run file1.class in Linux

1999-12-27 Thread Kontorotsui
On 27-Dec-99 [EMAIL PROTECTED] wrote: > After that I can compile > a java file (javac file1.java) but I cannot run it (java file1.class). I > don't see any help included with jdk. I really need your help. What about java file1? :) The class extension must not be included, this is true if you run

Re: jdk1.2

1999-12-27 Thread Edward W. Rouse
I thought the readme for blackdown 1.2 specified glibc2.1.2 and specifically said not to use 2.1.2? Ed. Nathan Meyers wrote: > me wrote: > > > > Hi, > > > > I've downloaded jdk1.2, and installed it, but when I tried to run it > > says "can't find libjava.so". I'm using Mandrake 6.5 and glibc 2.

Re: I can compile file1.java but cannot run file1.class in Linux.

1999-12-27 Thread Artur Biesiadowski
[EMAIL PROTECTED] wrote: > After that I can compile > a java file (javac file1.java) but I cannot run it (java file1.class). I > don't see any help included with jdk. I really need your help. You have to type java file1 not java file1.class Artur -

Y2K readiness.

1999-12-27 Thread Morten Primdahl
Hi I've looked all over blackdown.org for a y2k statement, but I've found none. Any of you know if there are any y2k issues with the blackdown ports? (specifically jdk117_v1a). Thanks Morten -- Morten Primdahl Caput ApS Tel +45 33 12 24 42 [EMAIL PROTECTED]

Re: I can compile file1.java but cannot run file1.class in Linux.

1999-12-27 Thread Thomas Bonk
On Mon, Dec 27, 1999 at 11:07:46AM -0800, [EMAIL PROTECTED] wrote: > I have a question about Java in Linux. I install jdk-1.1.5-8.i386.rpm in > Linux by typing rpm -ivh jdk-1.1.5-8.i386.rpm. After that I can compile > a java file (javac file1.java) but I cannot run it (java file1.class). I > don't

Jar file with JDBC

1999-12-27 Thread ALPESH KOTHARI
Hello all, I have written an application using Java2. It works fine with JDBC interface. I prepared a jar file of all the class file as well as 'postgresql.jar'.(I am using postgresql-6.5 as db). At this time it gives null pointer exception whenever it encounters a first create table statement.

Re: JDK 1.2.2 RC3 with some JITs

1999-12-27 Thread SHUDO Kazuyuki
I wrote: > Hi Blackdown guys, > But still a problem is preventing the RC3 from working > with some JITs. I am sorry. Blackdown JDK is not wrong at all. I guessed wrong. > But JDK 1.2.2 RC3 raises SIGSEGV after the > signal handler returns. Therefore the JITs which utilize > signals for excepti

Re: how to extract .tar.bz2 ?

1999-12-27 Thread Dustin Lang
Hi, > I download Blackdown jdk1.2.2: > > jdk-1.2.2-RC3-linux-i386.tar.bz2 > > I can not use "tar xvfI jdk-1.2.2-RC3-linux-i386.tar.bz2" > command in linux # prompt. Anyone help me ? If your tar program is older, it will not know about bunzip2, ie, it will not understand the "I" option. You a

Re: current directory

1999-12-27 Thread Dustin Lang
Hi, > how can I get current directory in servlet? This is not Linux-specific, or even servlet-specific, for that matter. There is a trick, though it feels like bad programming form: new File(".").getAbsolutePath(); In the future, you would do better by finding a more appropriate forum for que

how to extract .tar.bz2 ?

1999-12-27 Thread jack . w
I download Blackdown jdk1.2.2: jdk-1.2.2-RC3-linux-i386.tar.bz2 I can not use "tar xvfI jdk-1.2.2-RC3-linux-i386.tar.bz2" command in linux # prompt. Anyone help me ? JackWang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wit