-
1. Re: annotations are only available if source leve is 5.0
hrogge Jul 14, 2005 10:22 AM (in response to maximuszen)Java 1.4 does not know annotations, they were added to the java language in java 1.5
-
2. Re: annotations are only available if source leve is 5.0
maximuszen Jul 14, 2005 3:02 PM (in response to maximuszen)so how can i do it?
-
3. Re: annotations are only available if source leve is 5.0
maximuszen Jul 14, 2005 3:09 PM (in response to maximuszen)i don't quite understand because i have jdk1.5 install in jre under windows preferences.
-
4. Re: annotations are only available if source leve is 5.0
maximuszen Jul 14, 2005 3:22 PM (in response to maximuszen)i'm using JBoss IDE-1.5M1-jre15-linux-gtk.tar.gz. The table at http://www.jboss.org/products/jbosside/downloads states that this use jre/jdk 1.5. Help
-
5. Re: annotations are only available if source leve is 5.0
pepper_fiend Jul 15, 2005 12:37 AM (in response to maximuszen)Make sure Eclipse is using jdk1.5:
Window => Preferences => Java => Installed JRE's
Search for or add jdk1.5 and check the box next to it. -
6. Re: annotations are only available if source leve is 5.0
pepper_fiend Jul 15, 2005 12:38 AM (in response to maximuszen)duh, never mind. you already said you had it under windows preferences.
-
7. Re: annotations are only available if source leve is 5.0
maximuszen Jul 15, 2005 8:51 AM (in response to maximuszen)hey, i appreciate your feedback even though...
its very frustrating posting a problem and getting a half answer or the usual no answer. I wonder why this forum exists. -
8. Re: annotations are only available if source leve is 5.0
squeak Jul 15, 2005 10:18 AM (in response to maximuszen)In Eclispe:
Window->Preferences:
Java->Compiler:
Compiler Compliance Level: 5.0 -
9. Re: annotations are only available if source leve is 5.0
maximuszen Jul 15, 2005 10:30 AM (in response to maximuszen)Squeak, u are the man!!!
-
10. Re: annotations are only available if source leve is 5.0
maximuszen Jul 15, 2005 10:41 AM (in response to maximuszen)i don't get the drop down menu to see all the option for @E... but at least it doesn't give me any errors.
-
11. Re: annotations are only available if source leve is 5.0
maximuszen Jul 15, 2005 2:54 PM (in response to maximuszen)not being able to see the pop up menu when you're writing your code is quite cumbersome... anyone have any clues on how to do this?
-
12. Re: annotations are only available if source leve is 5.0
maximuszen Jul 15, 2005 3:45 PM (in response to maximuszen)for instance when a method or class has not been created there is a popup in the jboss ide trailblazer that shows a popup window that will help you generate the method or the class...
-
13. Re: annotations are only available if source leve is 5.0
rmcdonough Jul 17, 2005 10:31 AM (in response to maximuszen)try ctrl-space when you start typing. Works kinda the same what when you are declaring
public Str..
I don't automagically see "String" pop-up until I hot ctrl-space (or cmd-space for us Mac-folk). This is normal Eclipse behavior. Also, keep in mind you were watching a flash demo of the developers screen, you didn't see any keystrokes that were used to invoke the behavior that you're looking for.
Ryan- -
14. Re: annotations are only available if source leve is 5.0
maximuszen Jul 18, 2005 8:36 AM (in response to maximuszen)Sorry, this doesn't work. For example when you have a method that is not recognized there is an auto pop up. Also when you type "." stuff usually pops up but doesn't happen. Help.