Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A lot of syntax  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, im currently working on a java program for a school project. The code, however, was obtained from an archive back from 2009 and im having no clue what to do on how to fix the large amount of syntax errors. The picture below explains what i mean:


Any ideas?
 
Bartender
Posts: 2155
46
Firefox Browser IntelliJ IDE Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please, post your code here (UseCodeTags). Not the picture...

But... What I can see is that you put some XML into java file... That won't work.
 
lowercase baba
Bartender
Posts: 12613
50
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pawel is right. You're getting java syntax errors because that is not java.
 
Saloon Keeper
Posts: 1795
238
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this an Ant build file?
 
Ranch Hand
Posts: 116
2
Eclipse IDE Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ron McLeod wrote:Is this an Ant build file?



Sure looks like it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!