• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Compling Error

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Thanks,
Murphy
 
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic