compile and run sbdf java
Hi, I have been trying to get the sample java program for the "TIBCO Spotfire® Java SBDF Library" to run under ubuntu linux but so far no luck.
I did not change anything in the source code, just copied the sbdf.jar file to the Sample folder and compiled with:
javac -cp ./sbdf.jar WriterSample.java
This worked and generated a WriterSample.class file.
Then I try to run the program by:
java -cp ./sbdf.jar WriterSample
java -cp ./sbdf.jar com.spotfire.samples.WriterSample
java -cp ./:./sbdf.jar com.spotfire.samples.WriterSample
None of them works and the error message is always something like:
Error: Could not find or load main class com.spotfire.samples.WriterSample
Can anyone help here? Thanks a lot!