RE: Running Java in Linux Terminal

From: Dinh Tien Tuan Anh (tuananhbirm_at_hotmail.com)
Date: 04/28/04

  • Next message: Tobias Speckbacher: "RE: Disaster recovery recommendations for RH Linux 8.0..."
    To: redhat-list@redhat.com
    Date: Wed, 28 Apr 2004 17:57:35 +0000
    
    

      Could you explain a little bit clearlier (howtos), I don't know about that
    classpath thing.

    >From: "Ryan Golhar" <ryangolhar@verizon.net>
    >Reply-To: golharam@umdnj.edu,General Red Hat Linux discussion list
    ><redhat-list@redhat.com>
    >To: "'General Red Hat Linux discussion list'" <redhat-list@redhat.com>
    >Subject: RE: Running Java in Linux Terminal
    >Date: Tue, 27 Apr 2004 19:23:40 -0400
    >
    >I think this would be better suited in a java discussion list, but
    >depending on the error you get, make sure the classes your app needs are
    >availabie in your classpath.
    >
    >
    >-----Original Message-----
    >From: redhat-list-bounces@redhat.com
    >[mailto:redhat-list-bounces@redhat.com] On Behalf Of Dinh Tien Tuan Anh
    >Sent: Tuesday, April 27, 2004 5:25 PM
    >To: redhat-list@redhat.com
    >Subject: Running Java in Linux Terminal
    >
    >
    >
    >
    >
    >I'm using NetBeans as the Java editor now. But I can't run any program
    >in
    >Terminal (by typing java -cp ....). I don't know what I need to be able
    >do
    >that. In my school, I don't need to modify anything in the Java class,
    >just
    >type java -cp . <File> and run . Please tell me what I lack.
    >
    >(I hit "man java" but no command for java found)
    >
    >_________________________________________________________________
    >Tired of 56k? Get a FREE BT Broadband connection
    >http://www.msn.co.uk/specials/btbroadband
    >
    >
    >--
    >redhat-list mailing list
    >unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    >https://www.redhat.com/mailman/listinfo/redhat-list
    >
    >
    >--
    >redhat-list mailing list
    >unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    >https://www.redhat.com/mailman/listinfo/redhat-list

    _________________________________________________________________
    It's fast, it's easy and it's free. Get MSN Messenger today!
    http://www.msn.co.uk/messenger

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Tobias Speckbacher: "RE: Disaster recovery recommendations for RH Linux 8.0..."

    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.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: How to create a batch file for Java Console Application?
      ... you need to first set your classpath in .bat file and then your need ... to invoke your application using "java" command you can get more ... other Java programs as long as the batch file itself runs only the one ... one finds the folder that says Resources. ...
      (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.programmer)