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.


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

Results 1 to 2 of 2

Thread: Windows 7 - jar file not opening a window

  1. #1
    Junior Member
    Join Date
    Jun 2010
    Thanked 0 Times in 0 Posts

    Default Windows 7 - jar file not opening a window

    So I have code and it outputs using the standard System.out.print commands. In winXP, when I compiled this into a .jar file, and used eg. javaw -jar path.jar, it would open a command prompt-style window which would show the program's output. Now in win7 (diaf forever), when I use the same commands, from windows explorer or from a command prompt, javaw.exe*32 starts as a process and runs the code, but there is no output window (the program output doesn't show anywhere). How do I get my program output to show?

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,274 Times in 2,245 Posts

    Default Re: Windows 7 - jar file not opening a window

    Have you tried the java command?
    Read the API doc for the difference between javaw and java

Similar Threads

  1. Error when opening eclipse
    By BlackJavaCoder in forum Java IDEs
    Replies: 4
    Last Post: September 3rd, 2011, 07:57 AM
  2. Help me my IDE is not opening
    By Pms.java in forum Java IDEs
    Replies: 4
    Last Post: August 31st, 2011, 05:11 PM
  3. Opening a file with a java program
    By hafunui in forum Java Theory & Questions
    Replies: 4
    Last Post: March 1st, 2011, 03:52 PM
  4. My Jar File Crashing Windows 7
    By PrinceSendai in forum What's Wrong With My Code?
    Replies: 0
    Last Post: January 19th, 2011, 01:49 PM
  5. Opening a File for User
    By aussiemcgr in forum Java Theory & Questions
    Replies: 3
    Last Post: July 29th, 2010, 03:00 AM