Source level below 1.7
We are using Java 1.8 for our application . However on using a simple java 1.7 code getting the following error . We are using Jboss as the application server. Is there a configuration which sets the compilation version to 1.7
We are using Java 1.8 for our application . However on using a simple java 1.7 code getting the following error . We are using Jboss as the application server. Is there a configuration which sets the compilation version to 1.7
Test compilation failed: ----------
1. ERROR in \Rule_Obj_Activity_SendCreditCardApprovalEmail_Action_20180326T044055_828_GMT.java (at line 833)
long creditCardNumber = 1234_5678_9012_3456L;
^^^^^^^^^^^^^^^^^^^
Underscores can only be used with source level 1.7 or greater
----------
1 problem (1 error)
Compile failed.