Results 1 to 2 of 2

Thread: Assertions

  1. #1
    Army is offline Senior Member
    Join Date
    Jan 2012
    Posts
    147
    Rep Power
    0

    Default Assertions

    Does Eclipse run Assertions without having to enable them?

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    7

    Default Re: Assertions

    Quote Originally Posted by Army View Post
    Does Eclipse run Assertions without having to enable them?
    You need to enable assertions...pass the -ea argument into the VM arguments of the run configuration. I do not know if there is an option that enables them by default.

Similar Threads

  1. Assertions
    By java4amanda in forum New To Java
    Replies: 4
    Last Post: 03-24-2012, 03:34 PM
  2. Assertions
    By jayragz in forum New To Java
    Replies: 1
    Last Post: 05-30-2011, 12:14 PM
  3. Assertions
    By LovJava in forum New To Java
    Replies: 3
    Last Post: 01-07-2010, 10:13 AM
  4. Assertions on Eclipse
    By jon80 in forum New To Java
    Replies: 1
    Last Post: 05-19-2008, 04:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •