|
Sarah, To debug Java class on iSeries, you need to create a debug launch configuration with type "Java Application in iSeries Server". One way to open launch configuration dialog is to choose WDSC menu RUN > Debug... Select "Java Application in iSeries Server" and click "New". Fill out your project, Java class and other information. Please follow product help if you need more details. "Host Java application" is used for debugging Java on remote Linux / AIX system. Thanks, Li Ding Problem Determination Tools for iSeries IBM Toronto Lab Phone: (905)413-4393, Tie-Line:969-4393 Internet Email: lding@xxxxxxxxxx Internal Mail Address: D1/Dept.089/8200/MKM Sarah Poger Gladstone <listmember@xxxxxxxxxxxxxx> Sent by: wdsci-l-bounces@xxxxxxxxxxxx 02/02/2006 04:36 PM Please respond to Websphere Development Studio Client for iSeries To wdsci-l@xxxxxxxxxxxx cc Subject [WDSCI-L] debugging Java on the iSeries I am using WDSC 6.0 ( not advanced). I would like to debug a Java application using the integrated debugger. My .class file is in the IFS of my development AS/400. Using RSE, I have gone to the "IFS Files" area, then navigated to my class file. I can right click my "hello.class" file and choose "Run Remotely in iSeries View". This works as expected. But if I highlight "hello.class" then choose "Debug as ... Host Java application" I get an error dialog box with the message "The selected object is not a Java main type" If I choose "Debug as... Java application in iSeries Server" I get an error dialog box with the message "Launch failed. " Details: Launch failed: no main type found in active editor. Any ideas? -Sarah
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.