File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Compling Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Compling Error" Watch "Compling Error" New topic

Compling Error

Stephen Murphy

Joined: Feb 26, 2004
Posts: 24
I recently submitted a programming assignment to a professor in my college java course, but ran into some problems. The program compiled and ran fine on both my computer and the computer lab computer, but there were some errors found when my professor tryed to compile it. The errors were:

Is there any reason that this would occur? Different versions of java maybe? Both me and my professor are using JGrasp under windows. I would love it if womeone could help me figure out the problem.
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
At a guess you were compiling under 1.5 which will automatically convert the int to an Integer and your professor was compiling under 1.4 or earlier.
I agree. Here's the link:
subject: Compling Error
It's not a secret anymore!