Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 2 of 2 FirstFirst 12
Results 26 to 30 of 30

Thread: Help with elections program

  1. #26
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,613
    Thanks
    50
    Thanked 2,235 Times in 2,207 Posts

    Default Re: Help with elections program

    Please copy the full contents of the command prompt window and paste it here.

    To copy the contents of the command prompt window:
    Click on Icon in upper left corner
    Select Edit
    Select 'Select All' - The selection will show
    Click in upper left again
    Select Edit and click 'Copy'

    Paste here.
    If you don't understand my answer, don't ignore it, ask a question.

  2. #27
    Junior Member
    Join Date
    Dec 2012
    Posts
    15
    My Mood
    Inspired
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Help with elections program

    Quote Originally Posted by Norm View Post
    Please copy the full contents of the command prompt window and paste it here.

    To copy the contents of the command prompt window:
    Click on Icon in upper left corner
    Select Edit
    Select 'Select All' - The selection will show
    Click in upper left again
    Select Edit and click 'Copy'

    Paste here.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Suharsh>appletviewer TheHtmlThatExecutesTheApplet.html

  3. #28
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,613
    Thanks
    50
    Thanked 2,235 Times in 2,207 Posts

    Default Re: Help with elections program

    The contents of the command prompt does not show the exit from the appletviewer.

    Is that the name of the html file you are using: TheHtmlThatExecutesTheApplet.html


    You need to use the name of the file you have, not the name that I made.

    Sample from my PC:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    D:\JavaDevelopment\Testing\ForumQuestions7>appletv iewer asfdd.html
    'appletviewer' is not recognized as an internal or external command,
    operable program or batch file.

    D:\JavaDevelopment\Testing\ForumQuestions7>D:\Java \jdk1.6.0_29\bin\Appletviewer.
    exe asdfadd.html
    I/O exception while reading: D:\JavaDevelopment\Testing\ForumQuestions7\asdfadd .
    html (The system cannot find the file specified)

    D:\JavaDevelopment\Testing\ForumQuestions7>
    If you don't understand my answer, don't ignore it, ask a question.

  4. #29
    Junior Member
    Join Date
    Dec 2012
    Posts
    15
    My Mood
    Inspired
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Help with elections program

    Quote Originally Posted by Norm View Post
    The contents of the command prompt does not show the exit from the appletviewer.

    Is that the name of the html file you are using: TheHtmlThatExecutesTheApplet.html


    You need to use the name of the file you have, not the name that I made.

    Sample from my PC:
    What should I do about the syntax of the program?
    What other options should I try?

  5. #30
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,613
    Thanks
    50
    Thanked 2,235 Times in 2,207 Posts

    Default Re: Help with elections program

    What should I do about the syntax of the program?
    The compiler will tell you if there are syntax errors in the program.

    What is the contents of the command prompt window for when the program is executed?
    Can you copy the full contents of the window and paste it here?
    If you don't understand my answer, don't ignore it, ask a question.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Program goes into infinite compilation. University project - Library Program.
    By clarky2006 in forum What's Wrong With My Code?
    Replies: 35
    Last Post: November 10th, 2012, 02:56 PM
  2. Replies: 1
    Last Post: July 8th, 2012, 10:23 AM
  3. how to run a java program..when the program using jar
    By miriyalasrihari in forum Java Theory & Questions
    Replies: 2
    Last Post: May 17th, 2012, 10:04 AM
  4. Program to launch and mirror another program
    By hayate in forum Java Theory & Questions
    Replies: 13
    Last Post: March 8th, 2012, 11:47 PM
  5. Help with class program!!! STUCK! Program not doing what I Want!!!
    By sketch_flygirl in forum What's Wrong With My Code?
    Replies: 7
    Last Post: April 4th, 2011, 07:29 AM