Java Question SLC & Java 7?

tchart

Well-Known Member
Licensed User
So Im trying to build a library using SLC.

Im getting a number of errors that seem to relate to the Java version. Even though it clearly using javac 1.7.0_45 why does it say "source 1.5"?

One of the errors is below;

Simple Library Compiler
Starting step: Compiling Java code.
javac 1.7.0_45
E:\Dropbox\My Apps\Java\MD\src\com\afollestad\materialdialogs\MaterialDialog.jav
a:869: error: strings in switch are not supported in -source 1.5
switch (tag) {
^
(use -source 7 or higher to enable strings in switch)
 

tchart

Well-Known Member
Licensed User
thedesolatesoul, thanks updating SLC did the trick. Didn't realise a later copy was available.
 
Top