Re: unable to run a jar file in linux-Plz help me

2007-03-02 Thread Wilhelm Fitzpatrick
ing to do the linux specific libraries? how can it be resolved? Thanks in advance, Lib On 3/1/07, Libran Mail Me <[EMAIL PROTECTED]> wrote: Hi, I am facing a problem while running a jar file (which I created using eclipse v3.2.1 on windows XP.) on linux.The same jar file runs fine o

Re: unable to run a jar file in linux-Plz help me

2007-03-01 Thread Libran Mail Me
same jar runs on dos properly. Do you think it could be anything to do the linux specific libraries? how can it be resolved? Thanks in advance, Lib On 3/1/07, Libran Mail Me <[EMAIL PROTECTED]> wrote: Hi, I am facing a problem while running a jar file (which I created using eclipse

Re: unable to run a jar file in linux-Plz help me

2007-03-01 Thread Robert Meier
lib, > I am facing a problem while running a jar file (which I created using > eclipse v3.2.1 on windows XP.) on linux. > The same jar file runs fine on dos, > whereas on linux or solaris it returns a weird issue. > (XYZ not defined or something like that) ... not defined ... usu

Re: unable to run a jar file in linux-Plz help me

2007-03-01 Thread Wilhelm Fitzpatrick
On Mar 1, 2007, at 7:30 AM, Libran Mail Me wrote: whereas on linux or solaris it returns a weird issue.(XYZ not defined or something like that) Without knowing what the actual error message is, I don't think there is any way we can help you.

unable to run a jar file in linux-Plz help me

2007-03-01 Thread Libran Mail Me
Hi, I am facing a problem while running a jar file (which I created using eclipse v3.2.1 on windows XP.) on linux.The same jar file runs fine on dos, whereas on linux or solaris it returns a weird issue.(XYZ not defined or something like that) I am a beginner in Java. Kindly let me know how I

Re: read file in my own .jar

2006-07-28 Thread Jim C.
phlinux wrote: Hello, java -jar myapplication.jar will launch my java application. I want that this application reads some file from a .jar file. On the internet I found a lot of samples for this job, but of course I need the name of the .jar file. The name of .jar file is

read file in my own .jar

2006-07-27 Thread phlinux
Hello, java -jar myapplication.jar will launch my java application. I want that this application reads some file from a .jar file. On the internet I found a lot of samples for this job, but of course I need the name of the .jar file. The name of .jar file is myapplication.jar. But how to

Re: need a better file copy method - SOLVED?

2006-05-04 Thread Jim C.
OK, here is what seems to be working. I did some reading and noticed that closing the output stream was an op that was pretty close to the hardware. So, when cleaning up, do the following: fileOutStream.flush(); srcChannel.close ( ) ; dstChannel.close ( ) ; fileOutStream.close(); Anyway,

Re: need a better file copy method

2006-05-03 Thread Ioan - Ciprian Tandau
e things are > synchronously written to disk (local storage). The fact that the file is physically written to disk is not important because the OS will provide the last contents of a file either from disk or from the buffers. Flushing the buffers to disk is only important when one doesn't want

Re: need a better file copy method

2006-05-03 Thread Stefaan A Eeckels
On Wed, 3 May 2006 07:32:10 -0400 "Ioan - Ciprian Tandau" <[EMAIL PROTECTED]> wrote: > I told him about getFD().sync() (for FileInput/OutputStream and > RandomFile It seems to be the only way to make sure things are > synchronously written to disk (local storage).

Re: need a better file copy method

2006-05-03 Thread Ioan - Ciprian Tandau
lt;[EMAIL PROTECTED]> wrote: > Stefaan A Eeckels wrote: > > On Mon, 01 May 2006 13:41:12 -0700 > > "Jim C." <[EMAIL PROTECTED]> wrote: > > > >> Anyone know how a simple file copy can be accomplished in an > >> explicitly synchronous manner

Re: need a better file copy method

2006-05-03 Thread Stefaan A Eeckels
On Tue, 02 May 2006 14:38:50 -0700 "Jim C." <[EMAIL PROTECTED]> wrote: > Stefaan A Eeckels wrote: > > On Mon, 01 May 2006 13:41:12 -0700 > > "Jim C." <[EMAIL PROTECTED]> wrote: > > > >> Anyone know how a simple file copy can be accomp

Re: need a better file copy method

2006-05-02 Thread Stefaan A Eeckels
On Mon, 01 May 2006 13:41:12 -0700 "Jim C." <[EMAIL PROTECTED]> wrote: > Anyone know how a simple file copy can be accomplished in an > explicitly synchronous manner without adding Thread.sleep(n) after > calling flush on the output stream? Have you tried the streams

need a better file copy method

2006-05-01 Thread Jim C.
OK, so I need to do a simple file copy for a unit test. I found a great code example here: http://tinyurl.com/kkhju Problem is: My test will fail roughly 50% of the time because the test's data file is not finished copying. I've done everything I can imagine to accomplish

Re: truncated class file problem

2005-11-15 Thread Juergen Kreileder
> Exception in thread "main" java.lang.ClassFormatError: MapLayer (Truncated > class file) > > I can't tell from the above which of my classes is causing the > error. MapLayer > Does anyone know why this might be happening? Any help greatly > appreciated.. Looks like

truncated class file problem

2005-11-15 Thread julie doyle
Hi, I'm having a problem running my app on my iPaq. The Java version is 1.3.1 and on my desktop it's 1.3.1_13. The app runs fine on my desktop but when I try to run it on the PDA i get the following error: Exception in thread "main" java.lang.ClassFormatError: MapLayer (Tr

Cryptography / Text File

2005-06-16 Thread Daniel Tadeu Martínez Castello Branco
Hi all,I'm a Java Developer but i'm starting development in PDA enviroment. Iwill install BlackDown in iPaq 3650 using Familiar Linux and I havesome doubts:- Are all J2SE API available in BlackDown? - Can I use JCE (cryptography) using BlackDown JVM?- Can I open/read/write text files using BlackDow

Re: file

2005-03-05 Thread Christoph Mertins
[EMAIL PROTECTED] wrote: I have attached your document. +++ Attachment: No Virus found +++ Panda AntiVirus - www.pandasoftware.com can't somebody block this mails? -- MfG Christoph Mertins -- To UNSUBSCRIBE, email to [EMAIL PROTECT

java: no such file or directory problem

2004-08-23 Thread Maurice Sullivan
Hi, I've just installed blackdown jre1.3.1 on my iPaq 3970. I'm trying to run a simple HelloWorld program but keep getting an error 'java: no such file or directory'. I have compiled the code on my desktop and have copied to source and class files to the iPaq. In /etc/profile

Mozilla and the .plugin141.trace log file

2002-11-26 Thread Chris Kakris
ms to generate a new batch of the above messages. The log file eventually runs to many megabytes in size. I am also worried about memory usage continually increasing due to the messages being appended to Mozilla's java console. Is there a way I can disable this? I thought that

Antigen Notification:Antigen found FILE FILTER= *.exe file

2002-07-03 Thread ANTIGEN_RFEXC1
Antigen for Exchange found frmRoot[9].exe matching FILE FILTER= *.exe file filter. The file is currently Removed. The message, "Explorer", was sent from stoutee and was discovered in IMC Queues\Inbound located at BellHowell/PSC Richfi

Antigen Notification:Antigen found FILE FILTER= *.scr file

2002-07-03 Thread ANTIGEN_RFEXC1
Antigen for Exchange found Trivia.scr matching FILE FILTER= *.scr file filter. The file is currently Removed. The message, "Fw:java-linux,spice girls' vocal concert", was sent from keishabrandford and was discovered in IMC Queues\Inbound located at BellHowell/PSC R

Antigen Notification:Antigen found FILE FILTER= *.scr file

2002-07-03 Thread ANTIGEN_RFEXC1
Antigen for Exchange found SRC.scr matching FILE FILTER= *.scr file filter. The file is currently Removed. The message, "A special powful tool", was sent from mikiedon and was discovered in IMC Queues\Inbound located at BellHowell/PSC Richfi

Re: File jni_md.h

2002-04-01 Thread jordan muscott
Does replacing your /jre/lib/font.properties file with this one : http://java.sun.com/j2se/1.3/font.properties help at all? regards, jordan. On Mon, 01 Apr 2002 11:27:27 -0700 "Drew Lane" <[EMAIL PROTECTED]> wrote: >OK, I think I got this fixed by changing a path in the M

Re: File jni_md.h

2002-04-01 Thread Drew Lane
OK, I think I got this fixed by changing a path in the Makefile. However, there seem to be a lot of missing fonts when I run the program. (?) (I see lots of warnings in the console) Drew -- To UNSUBSCRIBE, email to [EMAIL P

RE: File jni_md.h

2002-04-01 Thread Alex Malone
Add the following to your CFLAGS and fill in the Java SDK directory. -I/include/linux/ -Original Message- From: Drew Lane [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 9:33 AM To: java-linux Subject: File jni_md.h Blackdown Java 1.3.1-02a for PPC I'm trying to recomp

File jni_md.h

2002-04-01 Thread Drew Lane
Blackdown Java 1.3.1-02a for PPC I'm trying to recompile a program written in Java which make some native calls written in C. I'm getting the error: jni_md.h: No such file or directory I know that some people have recompiled this program on Intel boxes, so is this a problem with

GLIBC versioning problem (GLIBC2.1 not defined in file ...)

2002-03-21 Thread asit
BC2.1 not defined in file libpthread.so.0 with link time reference. How can i work around this problem ? Thanks in advance for your help. Regards - asit -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "u

Re: applets reading from text file on client machine, possible?

2001-08-05 Thread Barry Fishman
Since this is a java-LINUX news group, I think the following should be said. It is implicitly insecure to allow any access to clients local system information through an html applet, or any remotely controlled means, irregardless of any signature validation methods used. The client machine shou

Re: applets reading from text file on client machine, possible?

2001-08-05 Thread Ingo Rockel
mouse movements are contained within the applet canvas - but the applet has >no graphic impact on the page? Sorry I am no applet expert and don't now if the both things mentioned above are possible. > > Alternative 3: > If it is not possible to read from the file on a client machin

Re: applets reading from text file on client machine, possible?

2001-08-04 Thread Ingo Rockel
On Sat, 4 Aug 2001, belfastolive wrote: > Hello, > > Is it possible to get an applet to read a text file on a client machine? > > Title Description: > > A background process on the client's desktop is generating numbers and writing these >to a text file. I want a

applets reading from text file on client machine, possible?

2001-08-04 Thread belfastolive
Hello, Is it possible to get an applet to read a text file on a client machine? Title Description: A background process on the client's desktop is generating numbers and writing these to a text file. I want an applet to display different colours based on these numbers. This text file wi

Re: CSS file and Servlet

2001-06-01 Thread Messias
filename="text1.rtf"

Re: CSS file and Servlet

2001-05-31 Thread Luca Aurel
n(""); , where main.css is the .css file Hope it helps. Luca - Original Message - From: "Messias" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 31, 2001 5:43 PM Subject: CSS file and Servlet Hi all, I'd like to know if it's pos

Re: CSS file and Servlet

2001-05-31 Thread Nathan Meyers
Messias wrote: > Hi all, > I'd like to know if it's possible to use .css file with servlets and if > it's, how can I do it ? > TIA, > Messias A .css is (usually) just a file. Your servlet engine needs to be configured to serve up files, and you need to place

CSS file and Servlet

2001-05-31 Thread Messias
filename="text1.rtf"

Re: JNI Question - I want to open a file for Read/Write

2001-02-15 Thread Santosh Dawara
Hi All, Thank you for replying. > > I am trying to open a file in the usual way, (fopen) > > However, fopen returns the an unusual NULL. At first > > I thought I probably did not have permissions. > > I am sure its not that. > > Check the errno after

RE: JNI Question - I want to open a file for Read/Write

2001-02-07 Thread Stefaan A Eeckels
On 07-Feb-2001 Santosh Dawara wrote: > I am trying to open a file in the usual way, (fopen) > However, fopen returns the an unusual NULL. At first > I thought I probably did not have permissions. > I am sure its not that. Check the errno after the fopen(). At least, you&

JNI Question - I want to open a file for Read/Write

2001-02-07 Thread Santosh Dawara
One more JNI Questions. I am trying to open a file in the usual way, (fopen) However, fopen returns the an unusual NULL. At first I thought I probably did not have permissions. I am sure its not that. Maybe I am not clear as to what JNI can and cannot do. Would anyone be willing to

font.properties file location

2000-12-06 Thread Riccardo Borghesi
Hi all, there is a way (environment variable, java options...) to say to JRE where find my "font.properties" file, in order to avoid putting it in $JAVA_HOME/jre/lib directory? Thanks Riccardo èPԔ ‘ ™¨¥¶ˆÚ½©bžìkz«ž²ØÚ½¦åiÉ£è® "¶¬¹¸ÞrÚº{.nÇ+‰·“®‹›•ਞ֜¶F«•¹ZrGhÂz+

Help: Read data from file.

2000-11-07 Thread New Java
Hi, I want to read data from a file. The data file: mydata.txt First_Name, Last_Name, Age John, Paul, 30 David, Lee, 26 : : Can I ignore the first line--> the Title and just read from second line? Thanks, David __ Do You Yahoo!? Thousands

Print to file

2000-10-02 Thread brEezE
Hi, Is there any way to print to a file with PrinterJob? I noticed that with PrintJob, the print dialog has the option but not for PrinterJob! Thanks in advance. __ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http

Some problem with file transfer server through server

2000-09-07 Thread Juan Pablo Rivera
Hi: I made a Server/Client Thread, it works fine but i don´t know how to get a file with the Client and send it to the Server from that connection. I have the conection under an imaginary port. I wonder if somebody can help me

[Fwd: File permissions]

2000-08-01 Thread Patrick Ohnewein
Guess the first send didn't work Patrick Ohnewein wrote: > > Now I have a Java app which creates files. > Everything works as espected but the created files get the wrong file > permissions. > > The user which uses the app has the following attributes: > NAME: patr

File permissions

2000-08-01 Thread Patrick Ohnewein
Now I have a Java app which creates files. Everything works as espected but the created files get the wrong file permissions. The user which uses the app has the following attributes: NAME: patrick GROUP: users UMASK: 022 creating the file Test.dat in the directory /Test with the following

sharing file.

2000-07-07 Thread Marcos Lloret
hi, i want to access a file from two servlets. can i do it in this way?? or should i add a class including a syncronized method like increferencia?? thanks in advance, marcos [EMAIL PROTECTED] --- first servlet --- public class transaccion1 extends HttpServlet { void

Re: servlets sharing i/o file

2000-07-06 Thread Rousseau, John
On Thursday Jul 6, 2000, Marcos Lloret wrote: > hi, > > i have running a sevlets that reads from a file a number and it adds > one more. after changes it saves. > i want to use the same file from another servlet. any problem?? if > both servlets try to open and sav

servlets sharing i/o file

2000-07-06 Thread Marcos Lloret
hi, i have running a sevlets that reads from a file a number and it adds one more. after changes it saves. i want to use the same file from another servlet. any problem?? if both servlets try to open and save at the same time. file = 4455 servlet 1

I hope to see ppt file at java

2000-06-22 Thread ±è¿µºÀ
Title: Orgio MailMessage - sender : [EMAIL PROTECTED] hi!! I hope to make a whiteboard program.. I want to see ppt file at java.. How can I do..?? Help me.. Thank you Kim youngbong

Re: Sun 1.3 src.jar file question

2000-06-04 Thread Calvin Austin
There is a known bug list where this is listed, in a nutshell src.jar is actually a gzip archive, run unzip or gunzip to extract the files from that archive for this release. regards calvin >Did anyone else get an exception when unjaring this f

Sun 1.3 src.jar file question

2000-06-04 Thread Timothy Reaves
Did anyone else get an exception when unjaring this file? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Loading .so file in java application on Linux

2000-05-02 Thread Juergen Kreileder
ot; will not work. Mo> On Tue, 2 May 2000, Boris wrote: >> I have meet the question about java programming on linux >> platform. I will load 'hello.so' file in hello.class in >> following statement: >> static { >> System.Loadlibra

Re: Loading .so file in java application on Linux

2000-05-02 Thread Mo DeJong
Under Linux, you need to set the LD_LIBRARY_PATH to include the directory where libhello.so lives. Mo Dejong Red Hat Inc. On Tue, 2 May 2000, Boris wrote: > I have meet the question about java programming on linux platform. > I will load 'hello.so' file in hello.class in fol

Re: Loading .so file in java application on Linux

2000-05-02 Thread John Rousseau
On Tuesday May 2, 2000, Boris wrote: > I have meet the question about java programming on linux platform. > I will load 'hello.so' file in hello.class in following statement: > static { > System.Loadlibrary("hello"): >} > but when run hello.class b

Loading .so file in java application on Linux

2000-05-02 Thread Boris
I have meet the question about java programming on linux platform. I will load 'hello.so' file in hello.class in following statement: static { System.Loadlibrary("hello"): } but when run hello.class by typing 'java hello',system show the follow

Re: Mount Table File per Linux Distributon

2000-04-05 Thread Peter Pilgrim
[EMAIL PROTECTED] wrote: > The programs mount and umount maintain a list of currently mounted file > systems in the file /etc/mtab. If no arguments are given to mount, this > list is printed. When the proc filesystem is mounted (say at /proc), the > files /etc/mtab and /proc

Re: Mount Table File per Linux Distributon

2000-03-31 Thread Scott Murray
On Fri, 31 Mar 2000, David Marshall wrote: > Peter Pilgrim wrote: > > > Hi > > > > I need some information about linux distributions and where > > they have the system mount table. > > > > For SuSE Linux this file is ``/etc/mtab'' > &g

Re: Mount Table File per Linux Distributon

2000-03-31 Thread Robert Miller
On Fri, 31 Mar 2000, Peter Pilgrim wrote: > I need some information about linux distributions and where > they have the system mount table. /proc/mounts is your friend > > For SuSE Linux this file is ``/etc/mtab'' /etc/mtab lists currently mounted filesystem

Re: Mount Table File per Linux Distributon

2000-03-31 Thread Dan Hobbs
David Marshall said, about Mount Table File per Linux Distributon > Peter Pilgrim wrote: > >> Hi >> >> I need some information about linux distributions and where >> they have the system mount table. >> >> For SuSE Linux this file is ``/etc/mtab

Re: Mount Table File per Linux Distributon

2000-03-31 Thread Nathan Meyers
On Fri, Mar 31, 2000 at 05:18:29PM +0100, Peter Pilgrim wrote: > Hi > > I need some information about linux distributions and where > they have the system mount table. > > For SuSE Linux this file is ``/etc/mtab'' > > I need to know what it is for Red Hat Li

Re: Mount Table File per Linux Distributon

2000-03-31 Thread David Marshall
Peter Pilgrim wrote: > Hi > > I need some information about linux distributions and where > they have the system mount table. > > For SuSE Linux this file is ``/etc/mtab'' > > I need to know what it is for Red Hat Linux, Debian, Slackware, TurboLinux &

Mount Table File per Linux Distributon

2000-03-31 Thread Peter Pilgrim
Hi I need some information about linux distributions and where they have the system mount table. For SuSE Linux this file is ``/etc/mtab'' I need to know what it is for Red Hat Linux, Debian, Slackware, TurboLinux and Linux Mandrake. THis is for a Java Linux portable JNI project

Re: JNI & _init() function in .so file

2000-02-07 Thread Nathan Meyers
On Mon, Feb 07, 2000 at 10:17:53AM -0600, [EMAIL PROTECTED] wrote: > Q2: After java jni loads a .so file, how can I find the number of links to > the .so file from a command line command and a lib call? I think you're asking: who has the .so open... true? The only way I know to get t

Re: JNI & _init() function in .so file

2000-02-07 Thread Paul Mclachlan
At 10:17 02 Feb 2000 -0600, [EMAIL PROTECTED] wrote: > Q1: I was told that when java jni loads .so file, the first function been > called is _init(). Can I use it as a constructor to setup something when > java app loads the .so file? If I put _init() func in .so C source file, &

JNI & _init() function in .so file

2000-02-07 Thread Lee_Xing
Hi, Got two questions on JNI and .so file. It would be appreciated if someone could help. Q1: I was told that when java jni loads .so file, the first function been called is _init(). Can I use it as a constructor to setup something when java app loads the .so file? If I put _init() func in

Passing file descriptors around

2000-01-13 Thread Dimitris Terzis
Title: Passing file descriptors around Hi guys... I use a Java application to launch an external program, via exec(). My Java application opens a socket which I want to pass to the external application and use it there. I have tried the easy way of passing the file descriptor (i.e., the int

InputStreamReader, file encoding and GUI

2000-01-10 Thread Marek Gmyrek
: pol.iso8859_2 (8859_2 encoding) pol.cp1250 (Cp1250 encoding) pol.unicode (Unicode encoding) I have also a GUI program, which reads a file using InputStreamReader with a particular encoding (this can be set thru a Choice object). Next a string is constructed and displayed in TextArea. The sequence looks like

Re: Jar file with JDBC

1999-12-29 Thread M.N.Balaji
hai, I have installed JDK 1.2.2 on Redhat 6.0, i am able to compile and run java programs , but rmi is giving problems, when i type rmic it is giving the following error. Please tell me how to rectify the problem. java.lang.NoClassDefFoundError: sun/rmi/rmic/Main at java.lang.Throwable

Re: Jar file with JDBC

1999-12-29 Thread Peter Mount
ace(); > > I have imported java.io.*; > What else I need to do? > I have included postgresql.jar in my jar file. > My classes are all in the same directory. Woops, printStackTrace() is a method of Exception not PrintStream. Thanks for the others who also spotted my mistake

RE: Jar file with JDBC

1999-12-29 Thread Edson Carlos Ericksson Richter
The correct is not try { //some piece of code } catch( Exception e ) { e.printStackTrace( System.out ); } ??? -- From: ALPESH KOTHARI Sent: quarta-feira, 29 de dezembro de 1999 07:44 To: Peter Mount Cc: [EMAIL PROTECTED] Subject:Re: Jar file with

Re: Jar file with JDBC

1999-12-29 Thread David Marshall
eed to do? > I have included postgresql.jar in my jar file. > My classes are all in the same directory. > > Thanking You, > Alpesh > Alpesh, Postgresql.jar has nothing to do with it. As the compiler says, there is no method printStackTrace() in java.io.printStream. Perhaps wha

Re: Jar file with JDBC

1999-12-29 Thread Matthias Pfisterer
ALPESH KOTHARI wrote: > > Hi, > > When I added 'System.out.printStackTrace()' it told > while compilation > Method printStackTrace() not found in class > java.io.PrintStream. > > System.out.printStackTrace(); It should be: e.printStackTrace(); where e comes from: catch (Exception e) Matthia

Re: Jar file with JDBC

1999-12-29 Thread ALPESH KOTHARI
in my jar file. My classes are all in the same directory. Thanking You, Alpesh = KOTHARI ALPESH D. STUDENT M. TECH. CEDT INDIAN INSTITUTE OF SCIENCE BANGALORE-560 012 INDIA __ Do You Yahoo!? Talk to your friends online with Yahoo! Messe

RE: Jar file with JDBC

1999-12-28 Thread Peter Mount
On Tue, 28 Dec 1999, Edson Carlos Ericksson Richter wrote: > Try putting the postgresql.jar file in the /jre/lib/ext/ directory... > > Is possible to put the postgresql.jar file into another jar file (my > app.jar) and use them in my app? Not that I know of, other than extracti

RE: Jar file with JDBC

1999-12-28 Thread Edson Carlos Ericksson Richter
Try putting the postgresql.jar file in the /jre/lib/ext/ directory... Is possible to put the postgresql.jar file into another jar file (my app.jar) and use them in my app? Edson Richter -- From: Dustin Lang Sent: terça-feira, 28 de dezembro de 1999 05:10 To: [EMAIL PROTECTED

Re: Jar file with JDBC

1999-12-28 Thread Peter Mount
ment it gives nullpointer > exception > } > catch(IOException e) > { > System.out.println("Error "+e); System.out.printStackTrace(); > } This should give me the class/line that's throwing the exception. > The program works fine if I dont prepare the jar file.

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
n("SQL");} try { String crt="create table xyz(sadd int4,tadd int4,pid int4,filen text,diff int2)"; st.executeUpdate(crt); //While executing this statement it gives nullpointer exception } catch(IOException e) { System.out.println("Error "+e

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). > >

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

Simpliest way to check the file presence.

1999-12-20 Thread Jacob Nikom
Hi, What is the simplest way to check, whether the file exist or not on the Linux hard drive? Is there any operation which delivers binary output whether file exist or not? Thank you, Jacob Nikom -- To UNSUBSCRIBE, email to

Re: Simpliest way to check the file presence.

1999-12-20 Thread Jeff Galyan
java.io.File.exists() returns a boolean indicating whether the named file exists. --Jeff Jacob Nikom wrote: > > Hi, > > What is the simplest way to check, whether the file > exist or not on the Linux hard drive? Is there any operation > which delivers binary output whether

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>

Re: libjava.so: cannot open shared object file

1999-12-13 Thread Juergen Kreileder
> 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. Juergen -- Juergen Kreileder, Blackdown

Re: libjava.so: cannot open shared object file

1999-12-13 Thread gerd
Hello Juergen, Emmanuel> thank you for your suggestions! From: Juergen Kreileder <[EMAIL PROTECTED]> Date: 11 Dec 1999 00:48:42 +0100 This command should show what exactly was missing: $ DEBUG_PROG=ldd java After we added the path of libjava.so explicitly to /etc/ld.so.conf we got

Re: libjava.so: cannot open shared object file

1999-12-12 Thread A.J. Rossini
>>>>> "JK" == Juergen Kreileder <[EMAIL PROTECTED]> writes: >>>>> Emmanuel Papirakis writes: >>> /usr/local/jdk117_v1a/bin [muster@192 bin]$ javac ./java: >>> error in loading shared libraries: libjava.so: cannot open

Re: libjava.so: cannot open shared object file

1999-12-10 Thread Juergen Kreileder
>>>>> Emmanuel Papirakis writes: >> /usr/local/jdk117_v1a/bin >> [muster@192 bin]$ javac >> ./java: error in loading shared libraries: >> libjava.so: cannot open shared object file: No such >> file or directory Emmanuel>

Re: libjava.so: cannot open shared object file

1999-12-10 Thread Emmanuel Papirakis
> /usr/local/jdk117_v1a/bin > [muster@192 bin]$ javac > ./java: error in loading shared libraries: > libjava.so: cannot open shared object file: No such > file or directory Hello, I agree with you when you say that the CLASSPATH and the JAVA_HOME variables are now obs

libjava.so: cannot open shared object file

1999-12-10 Thread gerd
Hi *, I have exactly the same problem as Arnaldo Riquelme Date: Fri, 2 Apr 1999 (see Archive): [muster@192 bin]$ pwd /usr/local/jdk117_v1a/bin [muster@192 bin]$ javac ./java: error in loading shared libraries: libjava.so: cannot open shared object file: No such file or directory

Re: bad file descriptor with jdk1.2.2

1999-12-04 Thread Ekkehard Kraemer
Hallo, d>I have verified the path to the file, the integrity of the file and d>changed permissions using 1.2 as a guide. Nothing sticks out. Perhaps strace helps? MbG, Ekkehard -- To UNSUBSCRIBE, email to [EMAIL PRO

bad file descriptor with jdk1.2.2

1999-12-03 Thread dmilner
All: Has anyone seen "(myLocalPath)/rt.jar: bad file descriptor" error when using the RC2 version of the jdk? If I use the 1.2 version, I don't have the problem. The permissions of the file are : -rw-r--r-- 1 root root 10814066 Nov 26 14:30 rt.jar I have verified the p

Re: I have core file from jikes (if anybody is interested)

1999-11-23 Thread Chris Abbey
e and read. That's my opinion, and one I've shared with as many webmasters within the corporation as I can find. >My point was that somebody might want to see core file. Most cores are only interesting in the environment that they occured in; the point I was driving at (and it's no

Re: I have core file from jikes (if anybody is interested)

1999-11-23 Thread andrey
h MY fonts and MY version of netscape I find ibm.com hard to navigate. This is my PRIVATE opinion and you are welcome do disagree:) My point was that somebody might want to see core file. And somebody did. And I'm not crying out and not asking for help. And I'm pretty satisfied with jik

Re: I have core file from jikes (if anybody is interested)

1999-11-22 Thread Chris Abbey
c, etc... and what version of jikes? Also what were you doing when it dumped, and can it be recreated? Without this standard kind of information most bug reports are useless. At 16:38 11/22/99 -0500, you wrote: > >Hi, All! > >I have core file from jikes (about 6M) if anybody is intereste

I have core file from jikes (if anybody is interested)

1999-11-22 Thread andrey
Hi, All! I have core file from jikes (about 6M) if anybody is interested:) I don't want to go with this to IBM's site - it's not "netscape-friendly" :) -- E-Mail: [EMAIL PROTECTED] Date: 22-Nov-9

Re: Question about file names

1999-10-20 Thread Riyad Kalla
I know I've done it in the past by creating a new File object, then checking its existance vis the exists() method. I am sure there are better ways to do it, but I am not as weathered as many others on this list. If someone has a better way, I would like to hear it as well. -Riyad [

Re: Question about file names

1999-10-20 Thread Michael Sinz
On Wed, 20 Oct 1999 11:40:46 -0400 (EDT), [EMAIL PROTECTED] wrote: > >Hi, All! > >I have generic question: >Is there any PLATFORM_INDEPENDENT way to test if given String defines a valid >file name without actually trying to create the file. I want to perfom such >test in

Question about file names

1999-10-20 Thread andrey
Hi, All! I have generic question: Is there any PLATFORM_INDEPENDENT way to test if given String defines a valid file name without actually trying to create the file. I want to perfom such test in the KeyEvent handler and attempting to create file every time doesn't sound good to me. T

Re: Jar file Access to images

1999-10-18 Thread schen
On Mon, 18 Oct 1999, Robert Simmons wrote: > I have an application that I intend to package as a jar, with its images in > the Jar. How do I construct a URL object to load those images into IconImage > instances from the LOCAL jar file (ie, the file the program is running in.) >

Re: Jar file Access to images

1999-10-18 Thread Ted Neward
<[EMAIL PROTECTED]> Date: Monday, October 18, 1999 4:36 AM Subject: Jar file Access to images >Greetings, I cross posted this to about 3 newsgroups and havent gotten a >reply yet so I figured I would post here because i need it answered. So dont >flame me for posting a general questi

  1   2   3   >