473,320 Members | 1,982 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

unsupported major .minor version 51.0

4
I am trying to use notepad++ as my all-in-one tool edit, run, compile etc.

I have jre installed, i have setup my path variable to .../bin directory.

When I run my "Hello world" in notepad++ , I get this message:

Expand|Select|Wrap|Line Numbers
  1. java.lang.UnsupportedClassVersionError: test_hello_world :
  2.  Unsupported major.minor version 51.0
  3.     at java.lang.ClassLoader.defineClass1(Native Method)
  4.     at java.lang.ClassLoader.defineClassCond(Unknown Source)
  5.        ......................................... 
  6.  
I think the problem here is about versions, some version of java may be old or too new.

how do i fix it?

should i install jdk , and setup my path variable to JDK instead of jre?

difference between PATH variable in jre or jdk?
Apr 30 '12 #1
0 1530

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: mike | last post by:
Just recently, my virus checker detected what it called a Trojan Horse in the py.dll file in the python22 folder. Installation is version 2.2.1 and I think that it came installed when I bought the...
12
by: Russell Stevens | last post by:
Should be trivial - I want to detect the program version so that I can take steps to update things to the current version. Pretty simple - just use Application.ProductVersion So I install the...
3
by: James | last post by:
I can get the windows version number from System.Environment.OSVersion e.g. "Windows NT 5.1.2600.0" for XP SP2. I was wondering whether this tells you the type of windows it is or if you have to...
0
by: Doug Bell | last post by:
Hi I have created an "About Form" and I want to display the version number of the Deployment Project. Is there any way I can do this without having to manually check that the Version No of the...
0
by: Sebastian Meier | last post by:
Hi everyone, i have the following problem. I tried to import the file ICSharpCode.SharpZipLib.dll into my VS Project. The Result was the following. Warning: Dependence...
2
by: Scott Lemen | last post by:
In VB 6.0 you assigned the program's version in the Make page. How is it done in VB .Net 2003? Thank you, Scott
4
by: Mike L | last post by:
Error occurs on "System.Deployment.Application.ApplicationDeployment.CurrentDeployment" ** Here is my code private void frmMain_Load(object sender, System.EventArgs e) {...
1
by: theWizard1 | last post by:
Using Asp.NET 2.0. I published my web application to the server using the publish to website feature of asp.net 2.0. In VS.Net 2005 IDE, on solution explorer, at top level just below solution, I...
1
madhoriya22
by: madhoriya22 | last post by:
Hi, My JVM does not support java.util.Scanner class. Is it too new or too old for Scanner class. Currently I am working on jdk1.5.0_04. While using Scanner class java compiler shows this message :-...
2
by: Birky | last post by:
Can someone point me in the right direction on how to use Version Numbers within Access? I have a database were its primary goal is to track the versions of several projects. Since the version...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.