Category: Java

Java Online Tutorial

Version 1.7.0_67 of the JVM is not suitable for this product. Version 1.8 or greater is required

System Environment PATH Variable Setup for JAVA

Eclipse Jee 2018-09 will be launched by using java 1.8 and above. So we need to install java 1.8 or above versions, either 32 bit or 64 bit according your system supports. After installing, you need to set system environment PATH variable of JDK path like C:\Program Files\Java\jdk<version>\jre\bin Error Screen Go to –> Right Click […]

No compiler is provided in this environment

Installed JRE - JDK Selection Eclipse

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project <project-name>: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? Solution Go to Windows –> Preferences –> Java […]

Java compiler level does not match the version of the installed Java project facet

Java compiler level does not match the version of the installed Java project facet

Java compiler version and project facet selected java version not matching. So we need to change java project facets version according java compiler. Solution Change java project facets java version according java compiler. Select Project –> Right Click –> Project Facets –> Select version in version drop down. NarayanaswamyHello! I am Narayanaswamy founder and admin […]

Cannot refer to the non-final local variable productname defined in an enclosing scope

Eclipse Java Compiler

Probably you are using java 8 and the other computer is using java 7. Java requires references to variables from inner classes to be final variables. Java 8 will make them effectively final if you don’t reassign. Probably you are using java 8 and the other computer is using java 7. Java requires references to […]

ORA-28040: No matching authentication protocol Oracle 12c

ORA-28040: No matching authentication protocol after upgrade to 12c. From oracle 12.X, the default value for the SQLNET.ALLOWED_LOGON_VERSION parameter has been updated to 11. It defines the minimum version of authentication protocol permitted to access the database. Prior to version 12c the default setting for SQLNET.ALLOWED_LOGON_VERSION (the equivalent parameter prior to 12c) was 8. In 12c the default […]

After upgrading struts2 to latest version s:submit not working

Due to security vulnerabilities, struts2 needs to be upgraded to latest versions i.e vulnerable free (2.3.32 or 2.5.10.1) which is vulnerabilities free. After upgrading s:submit action button will not work because it is disabled by default due to security vulnerabilities. Example <s:submit align=”center” action=’Login_loginUser’ value=”Login”/>   So that to make it as working, we need […]