| View previous topic :: View next topic |
| Author |
Message |
peter_budo
Joined: 03 Oct 2008 Posts: 28
|
Posted: Fri Oct 03, 2008 11:40 am Post subject: How to add annotations for Java ME |
|
|
I want to use @Override annotation in my Java ME application. However I have no idea where to make relevant changes. I use Sony Ericsson WTK on top of NetBeans. Bellow are messages on compile
| Code: | C:\Project\Simulator\src\sesimulator\menus\ContactMenu.java:45: annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@Override
1 error
C:\Project\Simulator\nbproject\build-impl.xml:354: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)
|
Can anyone advice? |
|
| Back to top |
|
 |
Renato Bellia Posted via mailing list.
|
Posted: Fri Oct 03, 2008 1:36 pm Post subject: How to add annotations for Java ME |
|
|
The deal is Java ME uses version 1.4 of Java Language Specification.
You cannot use Java 5 language features.
On Fri, Oct 3, 2008 at 8:40 AM, peter_budo <address-removed> wrote:
| Quote: | I want to use @Override annotation in my Java ME application. However I have no idea where to make relevant changes. I use Sony Ericsson WTK on top of NetBeans. Bellow are messages on compile
Code:
C:\Project\Simulator\src\sesimulator\menus\ContactMenu.java:45: annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@Override
1 error
C:\Project\Simulator\nbproject\build-impl.xml:354: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)
Can anyone advice?
|
|
|
| Back to top |
|
 |
peter_budo
Joined: 03 Oct 2008 Posts: 28
|
Posted: Fri Oct 03, 2008 2:01 pm Post subject: |
|
|
| Well, looks like I still have lot to learn |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|