a compiling problem
hi,
I'm getting back into java after a long break and trying to learn j2ee ejb to make things extra difficult! I passed the SCJP exam over 3 years ago but haven't done much java since as my work took me along a different road.. anyway
I'm trying to compile the first example from O'reilly head first ejb and getting a compiler error when I can't see why
headfirst\AdviceBean.java:8: '}' expected
private String[] adviceStrings = {"One word: inappropriate.", "You might
want to rethink that haircut.", "Your boss will respect you if you tell him wha
t you REALLY think of him." "Visualize yourself with better clothes.", "Of cours
e you don't have to go to work today.", "Do you really think you should be leavi
ng the house like that?", "Read a book once a year whether you need to or not."}
;
^
1 error
I have a feeling its because my environment variables are not right.
CLASSPATH=.;C:\j2sdkee1.3\lib\j2ee.jar;c:\j2sdkee1.3\lib\j2ee.jar;C:\j2sdk1.4.2_
06\lib\tools.jar
J2EE_HOME=C:\j2sdkee1.3
JAVA_HOME=C:\j2sdk1.4.2_06
path=C:\j2sdkee1.3\bin;C:\j2sdk1.4.2_06\bin;C:\WINNT\system32;
this is becoming frustrating as I can't get my environment set up properly and I've spent about a day now fiddling around with no joy.
any help greatly appreciated,
cheers
chris gray

