Java sockets – system monitoring / server capture process

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Monitoring remote Solaris client’s by using Java sockets. The below configuration shows how to configure a host (Solaris or Linux), to expose local performance states in JSON using Java sockets, the stats are then collected by a remote system to crunch (graph/chart) the data. The full capture pipeline process is outline below. Note: If losing […]

Read More

Java – How to create a jar file from multiple packages

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

How to create a runnable jar file from multiple java packages. The below example has two packages mypkg1 & mypkg2 with the below directory structure As you can see below I have 3 java files and two packages

Example java main method file.

Create a Manifest file Note: mypkg1 contains the main and […]

Read More

Java solution for – Error: Could not find or load main class

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

For example java package mypkg1 contains the main but I am still getting the error Error: Could not find or load main class One Full example below. mypkg1/One.java

Two.java

After compiling with javac. pwd /tmp/my_program Now lets run the program, all works

But if the same is run from /

The […]

Read More

JME3 and Blender howto

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

JME beginners howto Full walkthrue

JME3 howto

Terrain map howto

Blender howto Blender Beginner Tutorial – Part 2: Moving, Rotating Blendor compile for Solaris (was not able to get it working)

Free blender 3d models

OpenRTS Engine

jme3 help series

OpenGL ThinMatrix First OpenGL development # full […]

Read More

Solaris OpenGL (lwjgl-2.x) library and install

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Note this works with version 2.x, version 3.x does not included the Solaris lib’s First Download the lwjgl library from sourceforge link below

To test the OpenGL run the below.

Now lets test JME3 Download from git the jme (try with stable version)

Now lets compile

lwjgl install JME setup Offical […]

Read More

How to use libGDX with Android Studio (gradle)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

First create a gradle.properties file Note: Change the ip and port below

Point the environment the gradle file

Only change the SDK folder and pick a detestation folder. Once Download is completed Go in to Android studio and import the project

Read More

Java hashmap single key Multiple Values

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Default java library

Google java library

Apache java library

Full working example

Refrence

Read More