MyEclipse Forums
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
anoopingole
Post subject: Incompatible Java Compliance Leve  PostPosted: Jan 31, 2010 - 07:12 AM
Registered Member
Registered Member


Joined: Jan 31, 2010
Posts: 4

Below I am mentioning the Installation summary.

Before Creating New Web Project I changed the Default Preference settings:

Java - Compiler - Here I set compliance level 1.5.
Java - Installed JREs - Here I gave Java Home Path. (which is C:\Program Files\Java\jdk1.5.0_06 with name: jdk1.5.0_06)

MyEclipse - Servers - Tomcat - Tomcat 5.5 - Here I enabled Tomcat Server & gave Tomcat Home Path.
MyEclipse - Servers - Tomcat - Tomcat 5.5 - JDK - Here I Added the name which I specified in step2 above.



Then I created new Web Project 'MyProject':

I selected j2ee 1.4 and on finish there was a message: 'Incompatible Java Compliance Level' - "Compiler compliance level of project MyProject should be 1.4. Your current workspace default is 5.0. Do you want to use custom settings."

On one another java forum we post the same problem but they also told us the preference settings are all correct. Could you please help us to find the problem.


Installation Summary:
===============================================================
*** Date:
Sunday, January 31, 2010 12:21:38 PM IST

** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.0
Build id: 8.0-20091120


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 8.0
Build id: 8.0-20091120



Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 8.x Latest\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\Program Files\Genuitec\MyEclipse 8.x Latest\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Program Files\Genuitec\MyEclipse 8.x Latest\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Program Files/Genuitec/MyEclipse 8.x Latest
-configuration
configuration
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

============================================================
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Incompatible Java Compliance Leve  PostPosted: Feb 01, 2010 - 05:49 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

anoopingole,
If you click "Yes" after you get the message, it indicates that the project is compatible with JRE1.4 and higher. You can use custom settings for your project. Just right click on your project and go to properties > Java Compiler. There you can set " Compiler Compliance Level".
You can also create a web project by selecting "Java EE 5.0" for 1.5 compliance.
Let me know if that helps.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
anoopingole
Post subject:   PostPosted: Feb 01, 2010 - 12:24 PM
Registered Member
Registered Member


Joined: Jan 31, 2010
Posts: 4

Thank you Shalini, the information you provided is very helpful. Thank you again.

_________________
- Anoop
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Feb 02, 2010 - 07:54 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

Anoop,

Good to hear you are all set.

Best.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits