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.

Conversation Between Tjstretch and vigneshprabu

2 Visitor Messages

  1. I would strongly recommend updating to the latest java version, which is update 5 at Download Java for Windows. Then read how to set your PATH and CLASSPATH variables, described in detail at Download Java for Windows and Java Programming Tutorial - 1 - Installing the JDK - YouTube
  2. 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 2 of 2