Monthly Archives: February 2012

Configure java3D lib Settings

Java is complaining because it cannot find the native libraries (the *.so files) on your system path that Java3D comes with. Exactly how you fix this is up to you. You can do anyone one of the following: 1) Make … Continue reading

Rate this:

| Leave a comment

Mahout and Hadoop – Run the Logistic Regression

classifier.sgd # Check infor for help $mahout org.apache.mahout.classifier.sgd.TrainLogistic –help $mahout org.apache.mahout.classifier.sgd.RunLogistic –help # Example of Training # To train the model– model stored in donut.model, which is a json type file, to read the file better, try http://jsonviewer.stack.hu/ $mahout org.apache.mahout.classifier.sgd.TrainLogistic … Continue reading

Rate this:

| 1 Comment

Configuring Tomcat To Use SSL

Step 1 – Creating the Keystore The keys Tomcat will use for SSL transactions are stored in a password-protected file called, creatively, the “keystore.” The first step to enabling SSL on your server is to create and edit this file. … Continue reading

Rate this:

| 1 Comment

Generate Random Series in java

import java.util.Random; /** Generate random integers in a certain range. */ public final class RandomRange { public static final void main(String… aArgs){ log(“Generating random integers in the range 1..10.”); long START = 5412; long END = 5422; Random random = … Continue reading

Rate this:

| Leave a comment

Java Class File obfuscation

Step 1: Unzip package proguard4.7.zip or proguard4.7.tar.zip Step 2: Pack all application needed java class files -create Zip/Jar File format Step 3: Go to proguard4.7/bin Directory Step 4: if you are using Linux machine Run command like this: proguard4.7/bin$ ./proguardgui.sh … Continue reading

Rate this:

| Leave a comment