So....with some help from Tinkster, i added sdk.sh (below) to my /etc/profile.d/ and the program configures without having to specify the location of javac.
But I have a new problem now.....Seems to never end!!!!!!!
Code:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3139 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:122)
at org.thestaticvoid.iriverter.ConverterUI.<init>(ConverterUI.java:31)
at org.thestaticvoid.iriverter.ConverterUI.main(ConverterUI.java:629)
I thought it couldnt find the swt directory, so i added it to the path in sdk.sh - (thought it might work, but didnt)
Code:
#!/bin/sh
export JAVA_HOME=/usr/java/j2sdk1.4.2_10
export MANPATH="$MANPATH:/usr/java/j2sdk1.4.2_10/man"
export PATH="$PATH:/usr/java/j2sdk1.4.2_10/bin:/usr/java/j2sdk1.4.2_10/jre/bin:/usr/java/j2sdk1.4.2_10/swt"
I even put the file it was looking for (libswt-pi-gtk-3139.so) in the program directory hoping it would find it there....cuz i noticed on the previous release of this program it was included there.
Anyone have any suggestions????
Thanks again everyone for all your help.....Everytime i try something i have all toes and fingers cross that it will work!!!!!! hahaha....