Re: Sample Java code requested

From: Tony Dahlman (adahlman_at_jps.net.invalid)
Date: 12/14/03

  • Next message: Mike: "Re: @@IDENTITY correct syntax?"
    Date: Sun, 14 Dec 2003 02:42:04 GMT
    
    

    Brad wrote:
    >
    > java -cp . SQLTest TURNER
    >

    Hi Brad...

    That syntax replaced your entire classpath with "." Oops, right? :)

    You've done a lot but maybe all you needed to do was:

    java -cp %classpath%;.; SQLTest TURNER

    Sorry I didn't notice your post until today.
    Regards and HTH, Tony Dahlman
    ---------------------------------------
    a (no spam)d ahlman( a t )att global( d o t )ne t


  • Next message: Mike: "Re: @@IDENTITY correct syntax?"

    Relevant Pages

    • RE: NoClassDefFoundError after upgrade to FC3
      ... it's a lot harder to figure out what is missing. ... Check the script that starts the IDE and see if it is setting a classpath. ... Sometimes the CP is set using a command line option of the java command ... NoClassDefFoundError after upgrade to FC3 ...
      (Fedora)
    • Re: Question for Java Gurus
      ... > people running into classpath issues while doing command line work. ... in which case it's clear that their environment is impeding their ... success at learning Java. ... programming, that's a negligible space of education. ...
      (comp.lang.java.programmer)
    • Re: Question for Java Gurus
      ... > people running into classpath issues while doing command line work. ... in which case it's clear that their environment is impeding their ... success at learning Java. ... programming, that's a negligible space of education. ...
      (comp.lang.java.help)
    • Re: Question for Java Gurus
      ... > people running into classpath issues while doing command line work. ... in which case it's clear that their environment is impeding their ... success at learning Java. ... programming, that's a negligible space of education. ...
      (comp.lang.java.softwaretools)
    • Re: Java server wont run after reboot
      ... > package definitions in your source code. ... Execute from that directory, no classpath definition needed. ... > java HelloWorld ... > If you compile to a different location, ...
      (RedHat)