--- a/geotrans2/redhat_linux/makefile
+++ b/geotrans2/redhat_linux/makefile
@@ -19,7 +20,7 @@
 # Support declarations
 ####
 
-DEBUG = -g
+DEBUG = 
 
 CFLAGS = $(DEBUG)
 CCFLAGS = $(CFLAGS) $(COMPILER_ISSUES)
@@ -32,7 +33,7 @@
 ENGINEDIR = ../../engine
 SRCDIR = ../../geotrans2/src
 JNIDIR = ../../geotrans2/java_gui/geotrans/jni
-JAVADIR = /usr/local/j2sdk1_3_1#Note: Change this for your system
+JAVADIR = /usr/lib/jvm/java-6-openjdk
 
 ####
 # Libraries
@@ -156,11 +157,12 @@
 
 JAVAINCS = \
         -I$(JAVADIR)/include \
-        -I$(JAVADIR)/include/solaris
+        -I$(JAVADIR)/include/linux
 
 ####
 # Targets
 ####
+all: $(LIBGEOTRANS) $(LIBJNI)
 
 #GEOTRANS shared object library
 # make libgeotrans.so.1
@@ -171,7 +173,7 @@
 #JNI shared object library
 # make libjnigeotrans.so
 $(LIBJNI): posic_sources $(JNISRCS) $(JNISRCS:.c=.o)
-	$(cc) -dy -o $(LIBJNI) $(posic) -h $(LIBJNI) $(LIBGEOTRANS) $(JNISRCS:.c=.o) $(SRCS:.c=.o) -lm
+	$(cc) -dy -o $(LIBJNI) $(posic) $(LIBGEOTRANS) $(JNISRCS:.c=.o) $(SRCS:.c=.o) -lm
 
 ####
 # Supporting Rules
--- a/geotrans2/java_gui/MANIFEST.MF
+++ b/geotrans2/java_gui/MANIFEST.MF
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+Main-Class: geotrans/gui/Geotrans
--- a/engine/redhat_linux/makefile
+++ b/engine/redhat_linux/makefile
@@ -13,7 +13,7 @@
 # Support declarations
 ####
 
-DEBUG = -g
+DEBUG = 
 
 CFLAGS = $(DEBUG)
 
--- a/dt_cc/redhat_linux/makefile
+++ b/dt_cc/redhat_linux/makefile
@@ -13,7 +13,7 @@
 # Support declarations
 ####
 
-DEBUG = -g
+DEBUG = 
 
 CFLAGS = $(DEBUG)
 
