PDA

View Full Version : Compile errors while javac -classpath flexlm.jar:EccpressoAll.jar demoInfo.java



poojakhobragade
12-31-2010, 12:42 AM
Hi,

I downloaded the Java development kit for windows and Flexnet SDK for x86.
After building it for windows x86 platform,I followed the steps in Licensing for Java Programming Reference Guide to build the java class

While doing doing so I am getting the following error on
javac -classpath flexlm.jar:EccpressoAll.jar demoInfo.java

Error:
demoInfo.java:4: package com.macrovision.flexlm does not exist
import com.macrovision.flexlm.FlexlmConstants;

Can anyone help?

Thanks,
Pooja

poojakhobragade
12-31-2010, 12:45 AM
While doing doing so I am getting the following error on
javac demoInfo.java

Error:
demoInfo.java:4: package com.macrovision.flexlm does not exist
import com.macrovision.flexlm.FlexlmConstants;

poojakhobragade
12-31-2010, 01:33 AM
I am using FlexNet version 11.9

Is the com.macrovision.flexlm package not included in the flexlm.jar which was a part of Java development kit installation?

RobertDickau
01-04-2011, 10:50 AM
If you're compiling demoInfo.java on Windows, perhaps use a semicolon (;) instead of a colon (:) to separate jar files on the javac class path?


javac -classpath flexlm.jar;EccpressoAll.jar demoInfo.java