alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (README)

This example Java source code file (README) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

check\-in, check\-out, edit, execute, for, j2se, java_home, linux, path, solaris, sos8, test, the, this

The README Java example source code


The unit tests in this directory depend on a native launcher library
(libLauncher.so). This native library is built off-line and the
resulting libLauncher.so for each processor/OS combination is checked
into the workspace. The reason for this is because the test environment
may not have the required compilers/build environment.

In order to rebuild libLauncher.so the following is required :-

1. Check-out each of the shared libraries (sccs edit)

2. Edit Launcher.c with the appropriate changes

3. Execute the make script (gnumake all) on each processor/OS so
that the appropriate lib/<platform>/libLauncher.so is built.

4. Test the changes

5. Check-in each of the shared library (sccs delget)


For step 4 (re-building libLauncher.so) the following environment is required:

(a) JAVA_HOME needs to be set to J2SE directory, eg:-
	export JAVA_HOME=/usr/local/java/jdk1.5/solaris-sparc

(b) For Solaris the SOS8 'cc' needs to be on the PATH, check using:
	# cc -V
	cc: Sun C 5.5 2003/03/12

(c) Execute the make script :-
	Solaris:	gnumake all
	Linux:		gmake all


Other Java examples (source code examples)

Here is a short list of links related to this Java README source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.