File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes illegal start of expression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "illegal start of expression" Watch "illegal start of expression" New topic

illegal start of expression

Varuna Seneviratna
Ranch Hand

Joined: Jan 15, 2007
Posts: 167

"illegal start of expression" What causes this error.I can not figure out.I changed even the the combination of relational operators <== and >==
I want a integer returned between 1 and 6

Varuna Seneviratna
Leroy J Brown
Ranch Hand

Joined: Dec 02, 2007
Posts: 71
For starters the syntax for your relational operators is wrong. Try using


Should patch you up quick.
Varuna Seneviratna
Ranch Hand

Joined: Jan 15, 2007
Posts: 167
Thanks Tristan!
I was stressed out I could even figure out that

I agree. Here's the link:
subject: illegal start of expression
Similar Threads
Array Initilization
JSP Display problem
may you guess where error I get: script: stop/start animation image
Access modifiers within methods
problem during create thread in jsp