facebook

JUnit Test Issue

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #230507 Reply

    Roger
    Participant

    In a project that my co-worker and I are maintaining, we are starting to use JUnit testing. Although our Eclipse / MyEclipse platforms are setup the same, he can perform tests, but when ever I attempt to perform a test, I receive the error: <terminated> TestOLAPMetrics [JUnit] C:\bea\jdk142_05\bin\javaw.exe (Jun 2, 2005 8:40:47 AM). Obviously, the file name and date change depending on what I’m doing. Any assistance would be greatly appreciated.

    Thanks, Roger

    #230524 Reply

    Riyad Kalla
    Member

    Roger,
    I would encourage you to install Sun’s JDK from their site (1.4.2_08) and change your environment PATH to include it’s bin directory, also adjust your Eclipse shortcut to include the -vm argument pointing at the Sun JDK:
    eclipse.exe -vm c:\j2sdk1.4.2_08\bin\javaw.exe

    Using the JRE or JDK that ships with an app server as your runtime VM is never a good idea, a lot of these companies (especially IBM) instrument the JREs or JDKs that may cause problems for other software.

    You may also want to check your JUnit run task to set it to use a different JRE to run with (not the BEA one) and see if that works.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JUnit Test Issue

You must be logged in to post in the forum log in