smartanand
New member
hi
i have trouble in running a asynchronous jlink application.my system settings are
CLASSPATH
:\jlink program\jlinktest;C:\Program Files\proeWildfire 2.0\text\java\pfcasync.jar;%.CLASSPATH.%.
PATH:C:\Program Files\proeWildfire 2.0\bin;C:\Program Files\Java\bin;C:\Program Files\proeWildfire 2.0\i486_nt\lib;%LD_LIBRARY_PATH%
PRO_COMM_MSG_EXE:C:\Program Files\proeWildfire 2.0\i486_nt\obj\pro_comm_msg.exe;
PRO_DIRECTORY:C:\Program Files\proeWildfire 2.0;
import com.ptc.cipjava.jxthrowable;
import com.ptc.pfc.pfcAsyncConnection.AsyncConnection;
import com.ptc.pfc.pfcAsyncConnection.pfcAsyncConnection;
import com.ptc.pfc.pfcModel.Model;
import com.ptc.pfc.pfcModel.ModelDescriptor;
import com.ptc.pfc.pfcModel.ModelType;
import com.ptc.pfc.pfcModel.pfcModel;
import com.ptc.pfc.pfcSession.Session;
public class getter
{
public static void main(String [] args)
{
try
{
System.loadLibrary("pfcasyncmt");
AsyncConnection connection=pfcAsyncConnection.AsyncConnection_Start(null,nul l);
//Session session = pfcGlobal.GetProESession();
//Model model = session.GetCurrentModel();
}
catch(Exception ex)
{
System.out.println("" + ex);
}
}
}
when i compiled it without commenting third and fourth lines in try block i got
D:\jlink program\jlinktest>javac getter.java
getter.java:18: cannot resolve symbol
symbol : variable pfcGlobal
location: class getter
Session session = pfcGlobal.GetProESession();
^
1 error
when i commented those lines it got compiled but while executing
i got this
D:\jlink program\jlinktest>javac getter.java
D:\jlink program\jlinktest>java getter
Warning: 2352 could not start message module 1073788865
com.ptc.pfc.Implementation.pfcExceptions$XToolkitGeneralErro r
can nay one tell wat went wrong?/
thanks in advance,
anand.c
i have trouble in running a asynchronous jlink application.my system settings are
CLASSPATH
PATH:C:\Program Files\proeWildfire 2.0\bin;C:\Program Files\Java\bin;C:\Program Files\proeWildfire 2.0\i486_nt\lib;%LD_LIBRARY_PATH%
PRO_COMM_MSG_EXE:C:\Program Files\proeWildfire 2.0\i486_nt\obj\pro_comm_msg.exe;
PRO_DIRECTORY:C:\Program Files\proeWildfire 2.0;
import com.ptc.cipjava.jxthrowable;
import com.ptc.pfc.pfcAsyncConnection.AsyncConnection;
import com.ptc.pfc.pfcAsyncConnection.pfcAsyncConnection;
import com.ptc.pfc.pfcModel.Model;
import com.ptc.pfc.pfcModel.ModelDescriptor;
import com.ptc.pfc.pfcModel.ModelType;
import com.ptc.pfc.pfcModel.pfcModel;
import com.ptc.pfc.pfcSession.Session;
public class getter
{
public static void main(String [] args)
{
try
{
System.loadLibrary("pfcasyncmt");
AsyncConnection connection=pfcAsyncConnection.AsyncConnection_Start(null,nul l);
//Session session = pfcGlobal.GetProESession();
//Model model = session.GetCurrentModel();
}
catch(Exception ex)
{
System.out.println("" + ex);
}
}
}
when i compiled it without commenting third and fourth lines in try block i got
D:\jlink program\jlinktest>javac getter.java
getter.java:18: cannot resolve symbol
symbol : variable pfcGlobal
location: class getter
Session session = pfcGlobal.GetProESession();
^
1 error
when i commented those lines it got compiled but while executing
i got this
D:\jlink program\jlinktest>javac getter.java
D:\jlink program\jlinktest>java getter
Warning: 2352 could not start message module 1073788865
com.ptc.pfc.Implementation.pfcExceptions$XToolkitGeneralErro r
can nay one tell wat went wrong?/
thanks in advance,
anand.c