Skip to main content
1-Visitor
July 7, 2017
Question

modeler.bat file.. what is the fault in my bat file

  • July 7, 2017
  • 1 reply
  • 1740 views

I am trying to run modeler.bat file present  in the taskeditor but I am unable to execute it

the following lines are present in it.

 

set JAVA_HOME=<wt.jdk>
set WEB_INF=C:/ptc/Windchill_11.0/Windchill/codebase/WEB-INF
set MODELER_HOME=%WEB_INF%/../../taskeditor
set CLASSPATH=%WEB_INF%/../;%MODELER_HOME%;%WEB_INF%/lib/ieWeb.jar;%WEB_INF%/lib/jmxcoreWeb.jar;%WEB_INF%/lib/ie3rdpartylibs.jar;%WEB_INF%/../../lib/servlet.jar;%WEB_INF%/lib/mail.jar;%WEB_INF%/lib/activation.jar;%WEB_INF%/lib/install.jar;%WEB_INF%/lib/wncWeb.jar

start %JAVA_HOME%\bin\javaw com.infoengine.modeler.UI.IEModeler -web_inf "%WEB_INF%"

 

regards,

madhu

1 reply

1-Visitor
July 7, 2017

Set the path for wt.jdk as well. For some reason, the installed doen't build the paths in this bat file.

 

This is my WC11 file

 

set JAVA_HOME=D:/ptc/Windchill_11.0/Java
set WEB_INF=D:/ptc/Windchill_11.0/Windchill/codebase/WEB-INF
set MODELER_HOME=%WEB_INF%/../../taskeditor
set CLASSPATH=%WEB_INF%/../;%MODELER_HOME%;%WEB_INF%/lib/ieWeb.jar;%WEB_INF%/lib/jmxcoreWeb.jar;%WEB_INF%/lib/ie3rdpartylibs.jar;%WEB_INF%/../../lib/servlet.jar;%WEB_INF%/lib/mail.jar;%WEB_INF%/lib/activation.jar;%WEB_INF%/lib/install.jar;%WEB_INF%/lib/wncWeb.jar

start %JAVA_HOME%\bin\javaw com.infoengine.modeler.UI.IEModeler -web_inf "%WEB_INF%"

mnalla1-VisitorAuthor
1-Visitor
July 10, 2017

Hi,

ThankYou for the reply. Now am able to start it.

 

BR, 

madhu