J
Jeremy Watts
Hi,
I have the Java JDK installed on my old Sony Vaio laptop, but recently
switched to use my newer computer. I re-installed the Java development kit
(which used to be called the JDK ?? and now is called the SDK or
something.... Anyway I use the BlueJ IDE alongside it too, so also
downloaded that, so far so good.
I take a Java program from my old machine to try on my new set-up and theres
an error generated at a particular line, the error says :-
" '(' or '[' expected "
And the line in question is :-
"List<Object>result = new ArrayList<Object>();"
This works fine on my old set-up but not on the new!!??? Why?????????
Please save my mental health...
Jeremy Watts
I have the Java JDK installed on my old Sony Vaio laptop, but recently
switched to use my newer computer. I re-installed the Java development kit
(which used to be called the JDK ?? and now is called the SDK or
something.... Anyway I use the BlueJ IDE alongside it too, so also
downloaded that, so far so good.
I take a Java program from my old machine to try on my new set-up and theres
an error generated at a particular line, the error says :-
" '(' or '[' expected "
And the line in question is :-
"List<Object>result = new ArrayList<Object>();"
This works fine on my old set-up but not on the new!!??? Why?????????
Please save my mental health...
Jeremy Watts