Re: database connectivity
> i have postgresSql in my linux box i want to connect to it. I >don't know the way. i think i should have the driver installed in the >client side. And the postmaster is running in the server machine. >Any thing else is needed for the connectivity. Ask me if you don't get the >question clearly. On the client side all you have to do is to make sure that postgresql.jar is in your classpath. Then use code like this to connect: try { Class.forName(driver); } catch (ClassNotFoundException e) { Error.error("ClassNotFoundException: " + e.getMessage()); } try { connection = DriverManager.getConnection(url,login,password); } catch (SQLException ex) { Error.error(ex.getMessage()); } where driver = "postgresql.Driver"; and url = ""jdbc:postgresql://host:5432/database"; where host is the name of the host you are connecting to and database the name of the postgresql database that you want to access. For more info on how to connect see the postgresql JDBC driver page at http://www.retep.org.uk/postgres/ Regards Wim Ceulemans - [EMAIL PROTECTED] Nice Software Solutions - http://www.nice.be Eglegemweg 3, 2811 Hombeek - Belgium Tel +32(0)15 412953 - Fax +32(0)15 412954 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RMI on Linux
Hi, Somehow i have got RMI based server running but without RMISecurityManager installed from the server (prg). Still i don't understand why after installing RMISecurityManager from the program, it (prg) used to throw Exceptions saying permission denied which it doesn't throw now after commenting that part of installing RMISecurityManager. Anyway i have got server app running! Now the problem is that client throws exception in Naming.lookup() call saying ClassName_Stub ClassNotFoundException. Appended is the output.. before this - the client prg is able to print the list of remoteObjects on the remoteHost. ComputePi exception: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: engine.ComputeEngine_Stub java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: engine.ComputeEngine_Stub java.lang.ClassNotFoundException: engine.ComputeEngine_Stub at java.io.ObjectInputStream.inputObject(Compiled Code) at java.io.ObjectInputStream.readObject(Compiled Code) at java.io.ObjectInputStream.readObject(Compiled Code) at sun.rmi.registry.RegistryImpl_Stub.lookup(Compiled Code) at java.rmi.Naming.lookup(Compiled Code) at client.ComputePi.main(Compiled Code) Any suggestion will be helpful. thanx, ..praks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Calling Same native method more than once.
Hi all, I am facing problem in calling a native method more than once in java. The native method('C') basically implements socket part to collect some data from other machine. JDK 1.2pre-v2 (glibc2.1), Linux : RedHat6.0. It gives the correct value once, but for the second time it is called, it core dumps with following error. Any Help/Suggestions are most welcome. Thanks in advance, Nagaraj S.B. - SIGSEGV 11* segmentation violation stackpointer=0xbf1fd2a4 Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, native threads):"Thread-1" (TID:0x404c7118, sys_thread_t:0x804bf88, state:CW, native ID:0x400) prio=5 "Thread-0" (TID:0x404c6578, sys_thread_t:0x819a950, state:R, native ID:0x1005) prio=5 at CSDataColl.csupd(Native Method) at CSDataColl.updnatcall(Compiled Code) at CSDataColl.updoperation(Compiled Code) at updata.run(Compiled Code) "Finalizer" (TID:0x404be320, sys_thread_t:0x80cc5a8, state:CW, native ID:0xc04) prio=8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174) "Reference Handler" (TID:0x404be3b0, sys_thread_t:0x80c7df0, state:CW, native ID:0x803) prio=10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:424) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114) "SIGQUIT handler" (TID:0x404be3e0, sys_thread_t:0x80c0888, state:R, native ID:0x402) prio=5 Monitor Cache Dump: java.lang.ref.ReferenceQueue$Lock@404BE338/404F4028: Waiting to be notified: "Finalizer" (0x80cc5a8) java.lang.ref.Reference$Lock@404BE3C0/404F3B20: Waiting to be notified: "Reference Handler" (0x80c7df0) Registered Monitor Dump: PCMap lock: utf8 hash table: JNI pinning lock: JNI global reference lock: BinClass lock: Class linking lock: System class loader lock: Code rewrite lock: Heap lock: Monitor cache lock: owner "Thread-0" (0x819a950) 1 entry Thread queue lock: owner "Thread-0" (0x819a950) 1 entry Waiting to be notified: "Thread-1" (0x804bf88) Monitor registry: owner "Thread-0" (0x819a950) 1 entry Compilation exited abnormally with code 1 at Wed Aug 4 23:05:49 - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How can I help?
I can't let this go unanswered... :) >Date: Tue, 03 Aug 1999 10:02:19 -0700 >From: Danny Trieu <[EMAIL PROTECTED]> >Me too, I would like to contribute to the Linux community, and how can I help? > >Mike Christiansen wrote: > >> I have wanted to contribute to Linux for a while now. I would most like >> to help make my favorite programming language successful on my favorite >> OS. What can I do? >> >> Mike I don't believe there are any free .MPEG, .avi, or .vivo players available (mtv has the annoying "register" popup all the time). A Java class to do this would be really slick. Also, I don't think there are any open source Java classes to load .tiff or .pnm formats. A *real* hard project is to develop a class to load postscript format files. You would 1st need to find out exactly what the formats are. I don't know where to find the format specifications for .MPEG, .avi, .vivo, .tiff or .pnm, but they must be somewhere on the web. Postscript specs are probably available on the web too and I know there are books specifying its format. Perhaps someone knows of a good book with all the specs? my $0.02. -Larry Gates -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: RMI on Linux
At 16:16 8/4/99 +0530, [EMAIL PROTECTED] wrote: >Somehow i have got RMI based server running but without RMISecurityManager >installed from the server (prg). >Still i don't understand why after installing RMISecurityManager from the >program, it (prg) used to throw Exceptions saying permission denied which >it doesn't throw now after commenting that part of installing >RMISecurityManager. hmm... take out the security manager and you no longer get security exceptions... I wonder why? ;) >Now the problem is that client throws exception in Naming.lookup() call >saying ClassName_Stub ClassNotFoundException. Appended is the output.. rmiregistry can't find _stub and _skel (also needs the interfaces for your remoteables) in it's classpath. take a look over the RMI tutorial at javasoft, both of these are in there. cabbey at home dot net <*> http://members.home.net/cabbey I want a binary interface to the brain! Today's opto-mechanical digital interfaces are just too slow! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Aglets Open Source Petition
At 01:35 03/08/99 +, Mike Christiansen wrote: >I have wanted to contribute to Linux for a while now. I would most like >to help make my favorite programming language successful on my favorite >OS. What can I do? This seems like a perfect opportunity for me to make a blatant appeal to this list. I realise this is off topic, so please accept my apologies for that, but I believe that most of you might be interested by its contents ;) The Aglet Community requests your support. The Aglet Software Development Kit is a Java framework for researching and developing mobile agents and distributed systems. It was one of the first of its kind available in the world, and is still a leader in its field in terms of technology. Recently though, there are rumours that IBM might discontinue the project and shelve the technology. This would be a great loss to the growing Aglet community and the mobile code world in general. We are asking for your help in convincing IBM that Aglets should live on, as an Open Source project. It is ideal for this, with the community already developing and releasing OSS updates and packages for the framework. You can help us by signing our petition and registering your support. Even if you don't know anything about Aglets, you can still help! We need as many people to sign as possible. The home page of the petition can be found at: http://luckyspc.lboro.ac.uk/Aglets/Petition Thanks, Todd --- Todd Papaioannou @ MSI Luckyspin @ TerraFirmA http://luckyspc.lboro.ac.ukhttp://terrafirma.terra.mud.org "Mobility is Key" 'It's a brave new world in there' --- The Aglet Portal - http://luckyspc.lboro.ac.uk/Aglets --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
No more text in jdk1.2pre-v2 widgets
Hi there, I've just downloaded jdk1.2pre-v2. I had the pre-v1 installed before. Now I've installed the pre-v2, the text (fonts) have disappeared from every widgets. I found nothing related in the known bugs lists. Has anyone experienced the same problem ? - Gilles FILIPPINI. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: No more text in jdk1.2pre-v2 widgets
On Wed, Aug 04, 1999 at 03:44:02PM +0200, Gilles FILIPPINI wrote: > Hi there, > > I've just downloaded jdk1.2pre-v2. I had the pre-v1 installed before. > Now I've installed the pre-v2, the text (fonts) have disappeared from > every widgets. > I found nothing related in the known bugs lists. > Has anyone experienced the same problem ? > > - Gilles FILIPPINI. Hello Gilles, Look at http://www.blackdown.org/java-linux/jdk1.2-status/known-bugs.html Permission on *.ttf The release packaging system didn't make the TrueType fonts world readable. If you install the JDK as yourself, no problem. If you install it as root, but are in the group that root is running when you install it, no problem. If neigther of these cases is true, then you need to make the files world readable in jre/lib/fonts Hope that this solve your problem. -- Achim Neumann Bielefeld, 04.08.1999 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
IDL-to-Java compiler availability
Does Blackdown.org have any plans to port the Java2 (aka JDK 1.2.1) IDL compiler to Linux for us CORBA types? --- becs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java Media Framework
Sorry if I'm repeating myself, but I'm new to this mailing list... Anyway, does anyone have any tips or advice on getting Java Media Framework (All-platforms) and JDK 1.1.7 to work on Slackware Linux, or should I move straight onto 1.2.2? Thanks for any help in advance. Steve Clifton. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How can I help?
Go to http://www.wotsit.org/ for all your file-format needs!! Faw - Original Message - From: Larry Gates <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 04, 1999 9:14 AM Subject: Re: How can I help? > > I can't let this go unanswered... :) > > >Date: Tue, 03 Aug 1999 10:02:19 -0700 > >From: Danny Trieu <[EMAIL PROTECTED]> > > >Me too, I would like to contribute to the Linux community, and how can I help? > > > >Mike Christiansen wrote: > > > >> I have wanted to contribute to Linux for a while now. I would most like > >> to help make my favorite programming language successful on my favorite > >> OS. What can I do? > >> > >> Mike > > I don't believe there are any free .MPEG, .avi, or .vivo players > available (mtv has the annoying "register" popup all the time). A > Java class to do this would be really slick. Also, I don't think > there are any open source Java classes to load .tiff or .pnm formats. > > A *real* hard project is to develop a class to load postscript format > files. > > You would 1st need to find out exactly what the formats are. I don't > know where to find the format specifications for .MPEG, .avi, .vivo, > .tiff or .pnm, but they must be somewhere on the web. Postscript > specs are probably available on the web too and I know there are books > specifying its format. Perhaps someone knows of a good book with all > the specs? > > my $0.02. > > -Larry Gates > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How can I help?
For what it's worth, I've written a Tiff reader in Java. I'd love to 'contribute' it. It would be my first work. Where do I read about how to make it available to anyone who cares? Larry Gates wrote: > ...I don't believe there are any free .MPEG, .avi, or .vivo players > available (mtv has the annoying "register" popup all the time). A > Java class to do this would be really slick. Also, I don't think > there are any open source Java classes to load .tiff or .pnm formats. > ... > -Larry Gates -- Matt Sexton [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[Fwd: Re: Calling Same Native method more than once.]
Original Message Subject: Re: Calling Same Native method more than once. Date: Wed, 04 Aug 1999 10:46:06 -0400 From: Jacob Nikom <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Organization: MERL To: [EMAIL PROTECTED] References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Hi Nagaraj, I think it is better to see one time the working code than discuss how to do it. Here are the two files: one in Java and one in C which create animated color. The program runs on Linux and NT. You have to run it as application, not applet. Jacob Nikom =Start of the JCMotion.java file === /* * * */ import javax.swing.*; import java.applet.*; import java.awt.*; import java.awt.event.*; import java.awt.image.*; // This applet creates a series of moving // lines by creating a memory image and cycling // its color palette. public class JCMotion extends JApplet implements Runnable, ActionListener { public native void imageGen(int[] intArr, int imageWidth, int ImageHeight, int squareSize); static { System.loadLibrary("Image_native"); } // variables come after system library protected Image cycledImage; // image after cycling protected Thread cycleThread = null; protected int delay = 10; // milliseconds between cycles protected static int squareSize = 10; protected static int imageWidth = 100; protected static int imageHeight = 100; // holding pixels in memory int intArr[]; public void init() { // Create space for the memory image intArr = new int[imageWidth * imageHeight]; // Now create the image imageGen(intArr, imageWidth, imageHeight, squareSize); // Create the cycled image cycledImage = createImage( new MemoryImageSource(imageWidth, imageHeight, intArr, 0, imageWidth)); } // Paint simply draws the cycled image public synchronized void paint(Graphics g) { // g.drawImage(cycledImage, 0, 0, this); g.drawImage(cycledImage, 0, 0, getWidth(), getHeight(), this); } // Flicker-free update public void update(Graphics g) { paint(g); } // Cycles the colors and creates a new cycled image. Uses media // tracker to ensure that the new image has been created before // trying to display. Otherwise, we can get bad flicker. public synchronized void doCycle() { // Flush clears out a loaded image without having to create a // while new one. cycledImage.flush(); // Generate new image imageGen(intArr, imageWidth, imageHeight, squareSize); // Create the cycled image cycledImage = createImage( new MemoryImageSource(imageWidth, imageHeight, intArr, 0, imageWidth)); // When we use waitForID on this image now, it will be regenerated. MediaTracker myTracker = new MediaTracker(this); myTracker.addImage(cycledImage, 0); try { // Cause the cycledImage to be regenerated if (!myTracker.waitForID(0, 1000)) { return; } } catch (Exception ignore) { } // Now that we have reloaded the cycled image, ask that it // be redrawn. repaint(); } // Typical threaded applet start and stop public void start() { if (cycleThread == null) { cycleThread = new Thread(this, "Cycle"); cycleThread.start(); } } public void stop() { cycleThread = null; } // Continually run public void run() { Thread myCurrentThread = Thread.currentThread(); while (cycleThread == myCurrentThread) { doCycle(); try { Thread.sleep(delay); } catch (Exception hell) { } } } public void actionPerformed(ActionEvent evt) { System.out.println("actionPerformed"); this.stop(); } /** * application entry point. create window and new set of * command-line arguments **/ public static void main (String args[]) { JFrame f = new JFrame ("Cycler"); JCMotion motion = new JCMotion(); motion.init (); f.setSize (imageWidth, imageHeight); f.getContentPane().add ("Center", motion); f.setVisible(true); f.addWindowListener(new WindowCloser()); motion.start (); } } class WindowCloser extends WindowAdapter { public void windowClosing(WindowEvent e) { Window win = e.getWindow(); win.setVisible(false); win.dispose(); System.exit(0); } } ==End of the JCMotion.java file = =Start of the Image_native.c file= /* JCMotion.h generated by applying javah * on the Java class, and contains the * function declaration for the native method */ #include "JCMotion.h" /* used for printf */ #include "stdio.h" /* Signatures of several of these are in JCMotion.h */ static ii = 0; JNIEXPORT void JNICALL Java_JCMotion_imageGen( JNIEnv *env, jobject obj, jintArray intArr, jint imageWidth, jint i
Re: Java Media Framework
Which JMF you are asking about? Do you mean JMF1.0. 1.1 or 2.0? Jacob -=Steve-o=- wrote: > Sorry if I'm repeating myself, but I'm new to this mailing list... > > Anyway, does anyone have any tips or advice on getting Java Media Framework > (All-platforms) and JDK 1.1.7 to work on Slackware Linux, or should I > move straight onto 1.2.2? > > Thanks for any help in advance. > > Steve Clifton. > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java Media Framework
JMF 1.1 preferably. The one you can get from java.sun.com (the cross-playform implementation). (http://java.sun.com/products/java-media/jmf/1.1/download.html) Steve. On Wed, 4 Aug 1999, Jacob Nikom wrote: > Which JMF you are asking about? > Do you mean JMF1.0. 1.1 or 2.0? > > Jacob > > -=Steve-o=- wrote: > > > Sorry if I'm repeating myself, but I'm new to this mailing list... > > > > Anyway, does anyone have any tips or advice on getting Java Media Framework > > (All-platforms) and JDK 1.1.7 to work on Slackware Linux, or should I > > move straight onto 1.2.2? > > > > Thanks for any help in advance. > > > > Steve Clifton. > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Parsing date strings in 1.2.2
Hi Gang: I have been parsing date strings (such as 4-Aug-1999) under JDK1.1.6 using the DateFormat "parse" method. When I switched to 1.2.2 I keep getting "ParseException:Unparseable date:"4-Aug-1999" Is this a bug in 1.2.2 or have I left something out. I have scanned the FAQs and come up dry. Has anyone seen this before? Thanks in advance Greg Tomalesky -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: No more text in jdk1.2pre-v2 widgets
Hi Achim, You're right ! I missed this one. It works fine now. Thank you very much ! - Gilles FILIPPINI. Achim Neumann wrote: > On Wed, Aug 04, 1999 at 03:44:02PM +0200, Gilles FILIPPINI wrote: > > Hi there, > > > > I've just downloaded jdk1.2pre-v2. I had the pre-v1 installed before. > > Now I've installed the pre-v2, the text (fonts) have disappeared from > > every widgets. > > I found nothing related in the known bugs lists. > > Has anyone experienced the same problem ? > > > > - Gilles FILIPPINI. > > Hello Gilles, > > Look at > http://www.blackdown.org/java-linux/jdk1.2-status/known-bugs.html > > Permission on *.ttf > The release packaging system didn't make the TrueType fonts > world readable. If you install the JDK as yourself, no problem. > If you install it as root, but are in the group that root is > running when you install it, no problem. If neigther of > these cases is true, then you need to make the files world > readable in jre/lib/fonts > > > Hope that this solve your problem. > -- > Achim Neumann > > Bielefeld, 04.08.1999 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java Media Framework
> "S" == Steve <-> writes: S> JMF 1.1 preferably. As far as I remember I just grabbed it from Sun, unpacked it and it worked out of the box for me (JDK 1.1.7 and RedHat 5.1). So I don't think you will need any advice on it, just try it 8^). Stefan PGP signature
Re: How can I help?
On Wed, 4 Aug 1999, Larry Gates wrote: > > I can't let this go unanswered... :) > > >Date: Tue, 03 Aug 1999 10:02:19 -0700 > >From: Danny Trieu <[EMAIL PROTECTED]> > > >Me too, I would like to contribute to the Linux community, and how can I help? > > > >Mike Christiansen wrote: > > > >> I have wanted to contribute to Linux for a while now. I would most like > >> to help make my favorite programming language successful on my favorite > >> OS. What can I do? > >> > >> Mike Check out these sites. http://rnvs.informatik.tu-chemnitz.de/~ja/MPEG/MPEG_Play.html http://209.223.115.151/development/ later mo > I don't believe there are any free .MPEG, .avi, or .vivo players > available (mtv has the annoying "register" popup all the time). A > Java class to do this would be really slick. Also, I don't think > there are any open source Java classes to load .tiff or .pnm formats. > > A *real* hard project is to develop a class to load postscript format > files. > > You would 1st need to find out exactly what the formats are. I don't > know where to find the format specifications for .MPEG, .avi, .vivo, > .tiff or .pnm, but they must be somewhere on the web. Postscript > specs are probably available on the web too and I know there are books > specifying its format. Perhaps someone knows of a good book with all > the specs? > > my $0.02. > > -Larry Gates > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
LinuxPPC/jdk116_v5/jdk117_v1a
G'day I've been running Blackdown JDK 1.1.7 v1a on LinuxPPC 4.0 (RedHat 5.2 libraries) and recently upgraded to LinuxPPC 1999 (RedHat 6.0). Java has fallen in a screaming heap - I tried downloading JDK 1.1.6 v5 in case it was a problem with 1.1.7 being an alpha release, but no dice. I'm running glibc-2.1.1-6c (plus the devel and profile versions) if that's any help. The message that I get from java is 'Segmentation fault'. When I run appletviewer or javac I get the following (from javac): /usr/java/jdk116_v5/bin/ppc/green_threads/javac: line 19: 1613 Segmentation fault `dirname $0`/${progname} $RUNTIME_ARGS -ms8m $RUNTIME_ARGS sun.tools.javac.Main $APP_ARGS I checked out the $JAVA_HOME/lib/ppc/green_threads directory - there are no libdl.so or libc.so files in sight. If you need any more info (ldconfig etc) please let me know. Thankyou and - help! Brad Macpherson -- TecHed Creations Java/WWW programming MacOS/Windows troubleshooting/upgrade http://www.teched.com.au/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How can I help?
Here's another "project" that should be easy with Java, yet very much needed (at least by me, unless someone knows of a good alternative to Ncftp): >> I can't let this go unanswered... :) >> >> >Date: Tue, 03 Aug 1999 10:02:19 -0700 >> >From: Danny Trieu <[EMAIL PROTECTED]> >> >> >Me too, I would like to contribute to the Linux community, and how can I help? >> > >> >Mike Christiansen wrote: >> > >> >> I have wanted to contribute to Linux for a while now. I would most like >> >> to help make my favorite programming language successful on my favorite >> >> OS. What can I do? >> >> >> >> Mike I've always wanted a GUI driven FTP program just like CuteFTP for windows98. I have my hard drive partitioned for windows98 + Linux. When I need to download my experimental data from our Sparc II (SunOs) computer, it typically consists of about 7000 files totalling 200MB of data. I ALWAYS reboot to windows98 to transfer this because Ncftp (or regular Linux ftp) will give an "Arguments too long" error when I transfer with the command mget *.*. (It must be expanding the wildcard and can't handle the load of 7000 arguments...). Another piss-off from Ncftp is it will sometimes hang during mid-transfer with a " Error: Remote host has closed the connection. (Interrupt the program again to kill program.) " With CuteFTP, you can select which files you want (I've even selected over 10,000 files at once before), start the transfer and go for lunch (or whatever), when you return, its done without any complaints or excuses. I've NEVER had it fail. This is what I want from the Linux end. So, I think the Linux community needs a better, GUI driven FTP program in the style of CuteFTP. Java is well suited to develop this. -Larry Gates -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How can I help?
>Date: Wed, 04 Aug 1999 07:48:54 -0700 >From: Matt Sexton <[EMAIL PROTECTED]> >For what it's worth, I've written a Tiff reader in Java. > >I'd love to 'contribute' it. It would be my first work. Where do I >read about how to make it available to anyone who cares? I'll take it when it is available. Moses DeJong <[EMAIL PROTECTED]> writes: >Check out these sites. > >http://rnvs.informatik.tu-chemnitz.de/~ja/MPEG/MPEG_Play.html >http://209.223.115.151/development/ ok, I will. thanks. -Larry Gates -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: LinuxPPC/jdk116_v5/jdk117_v1a
LinuxPPC 1999 is a glibc 2.1 release; all JDK releases are not compatible with this particular release (in the PPC world). However, on the CDROM you will find a test version of jdk1.2prev1. I have not tried it, but it is rumored to work -Tom Brad Macpherson wrote: > > G'day > > I've been running Blackdown JDK 1.1.7 v1a on LinuxPPC 4.0 (RedHat 5.2 > libraries) and recently upgraded to LinuxPPC 1999 (RedHat 6.0). Java has fallen > in a screaming heap - I tried downloading JDK 1.1.6 v5 in case it was a problem > with 1.1.7 being an alpha release, but no dice. I'm running glibc-2.1.1-6c > (plus the devel and profile versions) if that's any help. The message that I > get from java is 'Segmentation fault'. When I run appletviewer or javac I get > the following (from javac): > > /usr/java/jdk116_v5/bin/ppc/green_threads/javac: line 19: 1613 > Segmentation fault `dirname $0`/${progname} $RUNTIME_ARGS -ms8m > $RUNTIME_ARGS sun.tools.javac.Main $APP_ARGS > > I checked out the $JAVA_HOME/lib/ppc/green_threads directory - there are no > libdl.so or libc.so files in sight. > > If you need any more info (ldconfig etc) please let me know. > > Thankyou and - help! > > Brad Macpherson > -- > TecHed Creations > > Java/WWW programming > MacOS/Windows troubleshooting/upgrade > http://www.teched.com.au/ > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- +---+ + Thomas M. Sasala, Electrical Engineer [EMAIL PROTECTED] + + MRJ Technology Solutionshttp://www.mrj.com + + 10461 White Granite Drive, Suite 102(W)(703)277-1714 + + Oakton, VA 22124 (F)(703)277-1702 + +---+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: No more text in jdk1.2pre-v2 widgets
I experienced this when I installed as root, and didn't have permission to read the JRE .../fonts directory. There is a similar probelm with the JIT compiler and .../bin. This is in the known bugs list for earlier releases. On Wed, 04 Aug 1999, Gilles FILIPPINI wrote: > Hi there, > > I've just downloaded jdk1.2pre-v2. I had the pre-v1 installed before. > Now I've installed the pre-v2, the text (fonts) have disappeared from > every widgets. > I found nothing related in the known bugs lists. > Has anyone experienced the same problem ? > > - Gilles FILIPPINI. > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
PostgreSQL
alguem tem algum programa de exemplo ou pode fazer um pra mim de sistema JAVA conectando um banco de dados PostgreSQL...eu seria muitissimo grato... []'s Marcos Seoane -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: PostgreSQL and JAVA
Go to http://www.retep.org.uk/postgres/ and dowload the JAR file for the version of Postgres that you are using. They seem to be pretty much compatible with each other. There are also some PDF files which you can download. This should take you through. If you still lost, have a look at the following sample : String dbUrl = "jdbc:postgresql://"+host+"/tour"; Class.forName("postgresql.Driver"); c = DriverManager.getConnection(dbUrl, "tour", ""); s=c.createStatement(); rback=s.executeQuery("Select username,level from users where (userid='"+userid.getSelectedItem()+"' and password='"+password.getText()+"')"); r=""; while (rback.next()) { r=rback.getString("username"); l=rback.getInt("level"); options.sign=r; options.level=l; } c.close(); -Original Message- From: Marcos Seoane [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, August 04, 1999 7:42 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject:PostgreSQL alguem tem algum programa de exemplo ou pode fazer um pra mim de sistema JAVA conectando um banco de dados PostgreSQL...eu seria muitissimo grato... []'s Marcos Seoane -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]