When I try to run a schedule in batch mode from the command line, I get a "no public JRE" message. I've copied the java.exe into the same directory as the "cmdline.bat" file so as to ensure java.exe is in the search path. Also, please check my parms in the attachment below. For the project and schedule, I used the same case as what displays in the RPT GUI. Other than that, does case matter? What does "no public JRE" mean? Note: I did a default RPT install except that I put it on the E drive of the machine instead of the C drive. Our shop does not allow applications to be installed on the C drive which is reserved for system software.
REM kickoff of response time monitor
cd "e:\program files\ibm\sdp70shared\plugins\com.ibm.rational.test.lt.cmdlineexecute_7.0.0.v200612201330"
cmdline -workspace "e:\ds\bmclees\ibm\rpt7.0\workspace" -project GMCARSPROJ100 -schedule GMCARSSCHED100SK-JointPPD -eclipsehome "e:\program files\ibm\rpt70" -plugins "e:\program files\ibm\sdp70shared\plugins" -results "e:\temp\rptbattest" -overwrite
The project/schedule work just fine when launching within the RPT GUI
This topic has been locked.
6 replies Latest Post - 2013-10-01T18:51:39Z by EliaRosch
Pinned topic Running RPT7.0 from command line
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-12T16:19:57Z at 2013-02-12T16:19:57Z by SystemAdmin
CafeRacer 0600000G3F154 PostsACCEPTED ANSWER
Re: Running RPT7.0 from command line2007-07-09T14:45:41Z in response to SystemAdminInteresting...
From talking to a couple of the RPT engineers, its my understanding that this was a documention defect; in fact there is a pending defect in place to remove the section of the help that states you can view the reports as the run is executing (via the command line).
...but it sounds like it now workds for you.
Thanks for the information
Re: Running RPT7.0 from command line2013-02-12T16:17:18Z in response to CafeRacerHi
From this directory:
C:\Program Files (x86)\IBM\IMShared\plugins\com.ibm.rational.test.lt.cmdlineexecute_7.2.700.v20120614_0752
I am running this command:
cmdline.bat -configfile c:\rpt.txt
and when I do, I get this error:
Exception in thread "main" java.land.NullPpointerException at ***.getjavapath(cmdline.execute.java:643)
Can anyone help me with this? Iamgoingmad...
EliaRosch 270006H2HP4 Posts