Bootstrap FreeKB Articles

Java articles


Date Time date and time Downloading Files Download a file in Java using Eclipse Eclipse Add a JAR file to Java Build Path in Eclipse Add an application server to Eclipse (Server Target Runtime) Configure Eclipse to use a certain version of Java Connect to an LDAP server in Eclipse Create a servlet in Eclipse Create a web service in Eclipse Create your first Hello World Web App in Eclipse Export an application to a WAR file in Eclipse Export an application to an EAR file in Eclipse Exporting an application to a file in Eclipse Import a package class in Eclipse Install Eclipse on Linux Install IBM WebSphere Application Server Developer Tools in Eclipse Install WindowBuilder GUI in Eclipse Workspaces in Eclipse Files List files in a directory Fundamentals Annotations Authentication Context Root Cookies Form data (POST GET) JSP extensions Use a class in a Java Archive (JAR) Use classes in a JAR What is a process and what is a thread in Java on Linux Hash Append key value pairs to hash table Define an empty hash table Loop through hash table Return value from a hash table hung thread How to replicate a hung thread in Eclipse if elsif else statements if elsif else statements Import Import a class or bean into a JSP page Install Install Java on Linux JAR command Create a JAR file on the command line Create a runable JAR file in Eclipse Extract a JAR file on the command line List files in a JAR file on the command line JAR Files Create a JAR file that can be run as a Java Application from the command line Java Keystores and Truststores trustedCertEntry vs PrivateKeyEntry Understanding the difference between a Java keystore and a truststore Java keytool command Change keystore or truststore password using the java keytool command Create a keystore using the Java keytool command Create a truststore using the Java keytool command Delete a certificate from a keystore or truststore using the Java keytool command Export a certificate from a keystore or truststore using the Java keytool command Import a certificate into a keystore or truststore using the Java keytool command List the certificates in a CER CRT PEM file using the Java keytool command List the certificates in a keystore or truststore using the Java keytool command Java Programming Create a simple Java app in Linux on the command line Java Runtime Environment (JRE) Set Java Runtime Environment (JRE) Compiler in Eclipse Set Java Runtime Environment (JRE) in Eclipse Set Java Runtime Environment (JRE) Project Facets in Eclipse Set Java Runtime Environment (JRE) System Library in Eclipse Logging Append events to a custom log file Append events to application server log LogConfig.xml (log level) Logging using java.util.logging Logging using Log4j Loop Looping over an array Properties Print system properties Properties Files Obtain data from a properties file return Return a string value from a class to a JSP page servlet How to manually create a Java servlet Sessions Sessions in a JSP page Sleep Pause execution using sleep SQL Connect to a SQL database via DataSource Connect to a SQL database via DriverManager SQL select SSL get Private Key Terminology Getting Started with variables and arrays Understanding beans Understanding class Understanding classpath Understanding constructors Understanding methods Understanding package Understanding Public Private Protected Tomcat Resolve "Unknown version of Tomcat was specified" in Eclipse Troubleshooting javax.net.debug property Resolve "Could not find the main class program will exit" Resolve "Could not load the server configuration" in Eclipse Resolve "Exception in thread "main" java.lang.UnsupportedClassVersionError: example/Class" Resolve "Failed to load Premain-Class manifest attribute" Resolve "Failed to load the JNI shared library" Resolve "keytool error: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big" Resolve "no main manifest attribute" Resolve "No suitable driver found for jdbc/mySQL" URL Connect Get HTTP response code using Eclipse Variables Linux JAVA_HOME variable with examples