D
D
daMage2014-09-11 22:08:31
Java
daMage, 2014-09-11 22:08:31

How to include the TA-LIB library?

Hello. I take the jar file from here: ta-lib.org/hdr_dw.html
The directory hierarchy is as follows:
TS
-app
-debug
-libs
-App.java
app - main application classes
debug - compiled classes (so as not to be confused with the source code)
libs - third-party libraries . Contains a connector to mysql, as well as this same library - ta-lib
Compilation and run process:

cd $HOME/java/TS
javac -d debug App.java
cd debug
java -cp .:../libs/* App

java complains that com.tictactec.ta.lib was not found. I thought it was a problem with paths at startup, but it finds a connector to mysql.
manifest file content
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.6.0_02-b06 (Sun Microsystems Inc.)

Main-Class: App

Fortunately, there are sources, but compiling them each time takes 1.5s.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question