Category Archives: Java

Java Dev Environment

Tomcat

If you’re using netbeans to develop Java, download .zip version which include complete .bat files in folder bin.

https://tomcat.apache.org/download-70.cgi

Add JDBC connection configs in context.xml

Environment Variables

  • JAVA_HOME
    C:\Program Files\Java\jdk1.8.0_201
  • CATALINA_HOME
    D:\tomcat-7
  • Append paths to variable path:
    %JAVA_HOME%\bin
    %CATALINA_HOME%\bin

User Environment variables

  • CLASSPATH
    %JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\javaee-endorsed-api-7.0.jar