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.

Results 1 to 2 of 2

Thread: Note pad source code open instead of executing java program?

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    1
    My Mood
    Cool
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face Note pad source code open instead of executing java program?

    Hi Friends,

    I recently downloaded java software (JDK) from Oracle website and installed. I'm not techie, so I manage to make it usable after getting through bundles of problems.

    Now I wrote a very simple problem, that compiling the program didn't give me any error(It was fine), but while executing (with command prompt), instead of showing the message in command prompt, the whole java program was opened in notepad. I tried many things, but failed.

    Can somebody help me?


  2. #2
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Posts
    987
    Thanks
    6
    Thanked 206 Times in 182 Posts

    Default Re: Note pad source code open instead of executing java program?

    Post the code, and the commands you used to compile and run it.

Similar Threads

  1. Editing open source code- tracing a value set to a concrete variable
    By a_posse_ad_esse in forum What's Wrong With My Code?
    Replies: 10
    Last Post: August 21st, 2011, 05:50 PM
  2. jsp/java based open source project
    By the light in forum JavaServer Pages: JSP & JSTL
    Replies: 2
    Last Post: July 17th, 2011, 03:24 AM
  3. Executing query from java program
    By ashu000 in forum JDBC & Databases
    Replies: 1
    Last Post: June 25th, 2011, 12:43 PM
  4. Invitation for Open Source Project
    By rcbandit2 in forum Web Frameworks
    Replies: 3
    Last Post: June 9th, 2011, 08:05 AM
  5. Help Executing C Program From Java! (Ubuntu)
    By penguinGirl in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 18th, 2010, 01:47 PM

Tags for this Thread