Ok so I have been messing with the path variables and trying to get my java compiler to work in cygwin. I have come close to getting it to work but I only get this error message: minmax.java:8: ‘;’ expected
^
1 error
minmax is the file i am trying to compile. and I know theres no problem with the minmax.java file because i compiled it just fine on my schools computer.
I have used both
.;%classpath%.;C:\Program Files\Java\jdk1.5.0_16\bin
;C:\Program Files\Java\jdk1.5.0_16\bin
and “PATH” as a name to get it to work, but the same thing happens
Related posts:








1 response so far ↓
1 deonejuan // Sep 18, 2008
look on line 8 of your java code. i’ll bet you have a missing semi-colon
your classpath looks fine, and indeed, the javac does find the bin folder, that’s why you get the minimax.java:8: ‘;’
Leave a Comment