How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
Java Path Tutorials
Getting Started with Java
How java program save compile and execute. Also Learn setpath and classpath of Java.
How To Lock and Unlock Folder Using Java
Lock and Unlock folder using diverting path of folder to control panel.
Fixing java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory" error or java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory comes when your project of framework like Spring uses Commons logging package to abstract actuall logging library like java.uti.logging or log4j but doesn't include commons-logging.jar in classpath. here are few tips to troubleshoot and fix this issue.
XPath and Java Tutorials for Developers
Xpath in XML is an important XML technology which is used to extract data from xml files. You can think of Xpath as SQL in Java which is used to retrieve data from tables. Xpath 1.0 is very popular and used heavily on xml and Java. Java has good support of Xpath and provides API to create and execute Xpath statements.
How to Set Path for Java in Linux
Before you run any Java program you need to set PATH for Java no matter whether you are running on Windows, Linux or Unix operating system. PATH is not Java concept but its a shell concept. PATH is an environment variable which contains directories where an executable is find. to Compile and Execute Java program you need "java" and "javac" binary in your path and including these in your path is called setting path for Java. This article will show you how to set PAth for Java in Windows or Linux in step by step guide.
3 ways to solve ClassNotFoundException in Java
As the name suggests java.lang.classNotFoundException in Java is a subclass of Exception and Comes when Java Virtual Machine tries to load a particular class and doesn't found the requested class in classpath. ClassNotFoundException is a checked Exception and you need to provide explicitly Exception handling while using methods which can throw java.lang.classNotFoundException in Java either by using try-catch block or by using throws clause. Though underlying concept of classnotfound exception is simple it always manifest itself in such format that you need to spend some time to figure out what exactly wrong with your java classpath. If you want to know secrets of java classpath see the link.
How to troubleshoot NoClassDefFoundError in Java
Great post about how to solve NoClassDefFoundError in Java. Many a times I have spent countless hours to figure out what's wrong with NoClassDefFoundError in Java, though it clearly tells that certain class is not found in classpath but you always expect that class to be in Classpath
How Classpath work in Java ?
This article is about understanding how classpath works in java, how to set classpath in windows and linux, how to set classpath in JAR file, how to use classpath behavior to testtest java
Simple postgres jdbc example
This examples show how to create jdbc connection. Follow the step by step procedure to create the database connection. 1. Download the postgres setup and click on step by step procedure to install postgres. 2. Download jdbc postgres driver. 3. Set the class path of the jar
Introduction to Java Programming
An introductory tutorial which will send somebody looking to get started in Java on the right path.
Rewiring Grails with custom URIs and codecs
This article shows you how to affect the lifeblood of any Web application: the URIs used for navigation. The permalinks back to individual entries are passed around the Internet like calling cards; the more descriptive they are, the more effective they are. Learn how to tweak the UrlMappings.groovy file to create new pathways. And finally, you'll create a custom codec to generate custom URIs more easily.
Evaluating XPaths from the Java platform
Discover the flexibility of XPath when working with XML from Java programming. XPath makes selecting elements, attributes, and text in an XML document easy. Learn how to evaluate XPaths from Java programming, and work with the returned nodes.
Refine XPath results using predicate matching
Predicates give you advanced and refined searching capabilities, allowing you to evaluate the values of attributes and the parent and child nodes of a targeted element. Rather than find a wider node set and refine or filter that set programmatically, you can add predicates to your XPaths to find exactly the nodes you want.
Use XPath to Select Portions of XML Documents
XML is a data format concerned primarily with compatibility and flexibility. This tutorial will teach you the fundamentals of XPath. Part 1 of this tutorial details the XPath specification, which allows you to specify particular sections of an XML document using a directory-like syntax. You'll learn the syntax of XPath, and you'll work with tools that let you experiment with XPath.
Locating resources in Java
A resource is a file situated somewhere in the class path. It can be a file in a package folder, in the classes folder or in a jar file. Resources are usually needed at runtime and they can be properties files, images and so on. The ClassLoader and Class classes provide methods to find the desired resources but a little bit of attention has to be payed to the quirks of this API.