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.

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) {
    System.out.println("hi");
    }

    }
    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

Contact


This Page
http://www.javaprogrammingforums.com/member.php?u=8720
Instant Messaging

Send an Instant Message to Tjstretch Using...

Statistics


Total Posts
Total Posts
275
Posts Per Day
0.05
Visitor Messages
Total Messages
1
Most Recent Message
August 12th, 2012 02:12 AM
Total Thanks
Total Thanks
32
  • 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
    Dotchild
  2. erdy_rezki erdy_rezki is offline

    Banned

    erdy_rezki
  3. javapenguin javapenguin is offline

    Banned

    • 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
    javapenguin
  4. parshu parshu is offline

    Junior Member

    parshu
  5. vijay_p vijay_p is offline

    Junior Member

    vijay_p
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
Summary
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


Overview
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

Categories
Uncategorized

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)

Categories
Uncategorized