aspose file tools*
The moose likes Java in General and the fly likes Problem with assert Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem with assert" Watch "Problem with assert" New topic
Author

Problem with assert

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
I am trying to compile an application and i am always getting this error.

"assert cannot be resolved to a type"

what can be the problem
Anton Uwe
Ranch Hand

Joined: Jan 10, 2007
Posts: 122
Perhaps you are compiling with a java 1.3 compiler or with a newer one with option -source 1.3?
 
jQuery in Action, 2nd edition
 
subject: Problem with assert