Search:

Type: Posts; User: j831526

Search: Search took 0.21 seconds.

  1. Replies
    11
    Views
    19

    Re: Jar facility appears broken

    It is. That's where the jar command placed it. The manifest I passed to the jar command is in my Brenda directory with everything else. The jar command modifies the manifest file and saves the result...
  2. Replies
    11
    Views
    19

    Re: Jar facility appears broken

    Yes, all the source files, classfiles, and the manifest are in the Brenda directory.

    Charlie
  3. Replies
    11
    Views
    19

    Re: Jar facility appears broken

    Same result:
    java -cp Brenda.jar Brenda.Brenda
    Error: Could not find or load main class Brenda.Brenda

    BTW: what's the p option? It doesn't show up in jar -help.

    Thanx - Charlie
  4. Replies
    11
    Views
    19

    Re: Jar facility appears broken

    Sorry, yes - the package name is also Brenda.

    Charlie
  5. Replies
    11
    Views
    19

    Re: Jar facility appears broken

    As shown above the manifest file contains the single line: Main-Class: Brenda
    And Brenda.class is in the jarfile which I confirmed using the Unarchiver.

    Charlie
  6. Poll: Re: I want to convert sloane1.com (php website) to Java Website

    Are you trying to write a CGI script? These are programs which run on the server side usually to process forms. The program name is specified in the HTML file and run on the server and receives data...
  7. Replies
    11
    Views
    19

    Jar facility appears broken

    java -version
    java version "1.7.0_60"
    Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
    Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode

    This is all being done on an iMac...
  8. Replies
    4
    Views
    43

    Re: BorderLayout displays only Center area

    Greg,

    That fixed things, and your code comments were very helpful.

    Thanx - Charlie
  9. Replies
    4
    Views
    43

    Re: BorderLayout displays only Center area

    Here's the code again properly formatted (I hope). Thanks Greg Brannon for the link to the formatting stuff:)


    public class Test1_panel extends JPanel {
    public Test1_panel(Color c) {
    ...
  10. Replies
    4
    Views
    43

    BorderLayout displays only Center area

    Only the BorderLayout.CENTER displays, and it fills the frame. If I comment out the red center, I get a white center (default I assume) filling the frame. I'm obviously missing something basic, but I...
  11. Replies
    2
    Views
    10

    Re: Setting up Java Development Environment

    Not sure if using this reply is the proper way to ask a question; I'm new to this forum.

    Anyway, I work with an editor (JEdit if it matters), the command line (TCSH on an iMac), and Python...
Results 1 to 11 of 11