wood burning stoves 2.0
The moose likes Beginning Java and the fly likes annotation issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "annotation issue" Watch "annotation issue" New topic

annotation issue

Marcus Deviln
Ranch Hand

Joined: Jan 29, 2009
Posts: 39
Let me start by saying hello to everyone and I hope that life is good!

Check out this issue...
1) the source:
public class Test3 {
public static void main(String[] args) {
java.util.Date[] dates = new java.util.Date[10];

2) the output:
c:\Users\Marcus\My Documents>javac Test3
error: Class names, 'Test3', are only accepted if annotation processing is expli
citly requested
1 error
My question is what caused that output?

+Deviln+ The power of JAVA compels you!
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

You must type javac Test3.java

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 45277
Please use the code button; your post is difficult to read otherwise.
I agree. Here's the link: http://aspose.com/file-tools
subject: annotation issue
It's not a secret anymore!