wood burning stoves
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


Win a copy of Building Microservices this week in the Design forum!
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?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Problem with assert
 
It's not a secret anymore!