[Quickfix-users] cannot find symbol Header
Brought to you by:
orenmnero
From: Rodrick B. <rod...@gm...> - 2007-09-17 02:10:34
|
Just testing my quickfix installation and notice I'm unable to instance the Header class import quickfix.field.*; class Main { public static void main(String[] args) { System.loadLibrary("quickfix_jni"); Message message = new Message(); Header header = message.getHeader(); header.setField(new BeginString("FIX.4.2")); System.out.println(message); } } -bash-3.00$ echo $LD_LIBRARY_PATH /opt/quickfix/lib bash-3.00$ javac -cp /opt/quickfix/lib/quickfix.jar Main.java Main.java:7: cannot find symbol symbol : class Header location: class Main Header header = message.getHeader(); ^ 1 error |