• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Debugging Java in Eclipse

    August 21, 2002 Timothy Prickett Morgan

    Hey, David:

    We have been using VisualAge for Java to develop Java applications for over a year. Recently, we decided to make the 1.3 JDK our standard JDK. Unfortunately, VisualAge does not include support for the 1.3 JDK, so it looks like we will need to move to another IDE. We have been looking at Eclipse, but it does not have a built-in team repository and you cannot change an executing program in the debugger. Are there other IDEs that support a team repository and editing during debug?

    — Larry

    You don’t mention which version of Eclipse you tried, but if you are using Version 2.0 and the 1.4 Software Development Kit (SDK) available from Sun, the debugger will reload modified classes when they are saved. This feature is new and doesn’t always work, but I have had good luck using Sun’s 1.4.1 Beta SDK.

    To use the new 1.4 SDK, you will have to go to the preferences tab located on the Windows drop-down list and expand the Java options. Click on installed JREs, click the add button, and specify the directory where you installed the 1.4 SDK. Note, if you are using an older version of Windows, such as Windows 95 or Windows 98, you may also have to add the 1.4 SDK at the beginning of the path environment variable in a batch file that starts Eclipse.

    At this point, you probably don’t want to use any of the new features introduced by the 1.4 SDK, but if you do, you will need to go to the compiler options page and select the JDK compliance tab. If you select 1.4, Eclipse will allow you to use classes that are new to the 1.4 SDK.

    Eclipse may not have a built in team repository, but it does support Concurrent Versions System (CVS), which is an open source tool that tracks source changes. I can’t give you a complete description of CVS in the space allotted here, but I can point you to some resources and give you a few tips on using CVS with Eclipse.

    There are several versions of CVS that run on various versions of Unix, Linux, and Windows. Given a choice, I would recommend Linux because that is what the Eclipse developers tested against. Most versions of Linux come with CVS, or you can download the latest Linux RPM from the CVS downloads page. If you decide to use Windows to run your CVS server, one of the best sources of information is the CVSNT Installation Tips page . Also, be aware that aliased repository names do not work properly with CVSNT and Eclipse.

    Before you add a new file to a CVS repository in Eclipse, look at the type. If Eclipse says a file is binary and the file contains text, select preferences from the Windows drop-down menu. Next, expand Team and select File Content. Add the extension of your text file to the list of files and make sure that it shows ASCII. If you miss this step, you can fix the type by right clicking on the file in the Navigator view, select Team, and Change ASCII/Binary property.

    — David

    Sponsored By
    WORKSRIGHT SOFTWARE

    On June 30, 2002,
    $$$$$$$$    Postal Rates went UP!    $$$$$$$$

    On July 1, 2002,
    $$$$$    you wanted your postage bill to go down.    $$$$$

    We have the solution! CASS certify your mailing names and addresses and presort your outgoing mail and save. Our CASS certification software ensures that your address files have valid ZIP Code and address information. Our presort software ensures that you can properly prepare you mail for delivery to your Post Office.

    WorksRight Software, Inc. is the number-one source for iSeries and AS/400 CASS, presort, ZIP Code, and area code software and data.

    Visit our Web site – www.worksright.com – to learn more about our CASS and presorting software, or contact WorksRight Software, Inc., phone 601-856-8337,
    e-mail software@worksright. com .

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mgo_rc, Volume 2, Number 63 -- August 21, 2002

    Sponsored by
    Raz-Lee Security

    The MFA Mobile App provides a secure and user-friendly way to add strong authentication without complicating access. It enables users to approve login requests or generate one-time passwords directly from their mobile device, ensuring that access is granted only after a second, trusted factor is verified.

    Learn More

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    OPNQRYF Bug Validating a User Password

    Leave a Reply Cancel reply

MGO Volume: 2 Issue: 63

This Issue Sponsored By

    Table of Contents

    • OPNQRYF Bug
    • Debugging Java in Eclipse
    • Validating a User Password

    Content archive

    • The Four Hundred
    • Four Hundred Stuff
    • Four Hundred Guru

    Recent Posts

    • Spring IBM i Tech Refreshes Will Come A Bit Later This Year
    • You Are Much More Than Power Systems, And So Are We
    • Startup Seeks The “Golden Path” for IBM i Modernization
    • What Can IBM Do To Make The Future Power S1112 Mini System Compelling?
    • IBM i PTF Guide, Volume 28, Number 15
    • Bob 1.0 Users Bugged By Lack Of One Feature
    • Here Come The AI-Based Code Modernization Offerings
    • Guru: Cohesion First – What A Procedure Should Be Responsible For
    • IBM Offers Trade-Ins On Storage To Grease The Upgrade Skids
    • IBM i PTF Guide, Volume 28, Number 14

    Subscribe

    To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

    Pages

    • About Us
    • Contact
    • Contributors
    • Four Hundred Monitor
    • IBM i PTF Guide
    • Media Kit
    • Subscribe

    Search

    Copyright © 2025 IT Jungle