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.

1 Visitor Messages

  1. View Conversation
    hello sir
    i am beginner to java .
    i have use java 1.7.0
    public class samp {
    public static void main(String[] args) {

    i run above program in command prompt properly. but ecplise indego virtual machine launcher display the error as follows:

    "could not find the main class.program will exit."

    java.lang.UnsupportedClassVersionError: jj : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknow n Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    i already post this website no one replay to me . so please help me ..

    thanks in advance
Showing Visitor Messages 1 to 1 of 1
About Tjstretch

Basic Information


This Page
Instant Messaging

Send an Instant Message to Tjstretch Using...


Total Posts
Total Posts
Posts Per Day
Visitor Messages
Total Messages
Most Recent Message
August 12th, 2012 02:12 AM
Total Thanks
Total Thanks
  • Thanked 54 Times in 47 Posts
General Information
Last Activity
March 19th, 2013 02:26 PM
Join Date
October 5th, 2010

5 Friends

  1. Dotchild Dotchild is offline

    Junior Member

    • Send a message via Skype™ to Dotchild
  2. erdy_rezki erdy_rezki is offline


  3. javapenguin javapenguin is offline


    • Send a message via ICQ to javapenguin
    • Send a message via MSN to javapenguin
    • Send a message via AIM to javapenguin
    • Send a message via Yahoo to javapenguin
  4. parshu parshu is offline

    Junior Member

  5. vijay_p vijay_p is offline

    Junior Member

Showing Friends 1 to 5 of 5
View Tjstretch's Blog

Recent Entries

Thread Volatility

by Tjstretch on March 13th, 2012 at 12:49 PM
This is put at the top for those who don't want to read the entire thing.
  • Threads get more volatile as more are added, up to a point
  • Thread volatility jumps drammatically on my computer between 4 and 8 threads.
  • Calling non-volatile variables is very inaccurate

I recently posted a forum thread that more Java Threads will increase volatility. While I had seen the side-effect volatility and it seemed intuitive enough, I decided that n order

Read More

Updated March 13th, 2012 at 02:26 PM by Tjstretch


Windows 7 Console

by Tjstretch on January 25th, 2012 at 04:31 PM
Well I encountered a problem recently that a lot of people were complaining about when I Googled, which is a lot of the time I like to share some basic console programs with only have functional java installed, and on windows 7 the command I used to use to open command prompt [Runnable.getRunnable().exec("exec /k run.bat")] no longer works due to security precautions. So I made a simple class that creates the functional equivalent of console for programs. Possibly the size of the console

Read More

Updated June 20th, 2012 at 12:09 PM by Tjstretch (Looked over this code -- Added EDT, println(), handleException)