Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal compi

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    11
    My Mood
    Cool
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal compi

    dear ones Please Help me regarding this:-
    Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal compilerSourceVM: 1.7
    at org.apache.jasper.JspC.setCompilerSourceVM(JspC.ja va:707)
    at org.netbeans.modules.web.project.ant.JspC.main(Jsp C.java:83)
    at org.netbeans.modules.web.project.ant.JspCSingle.ma in(JspCSingle.java:125)
    C:\Users\Administrator\Documents\NetBeansProjects\ Pantaho\nbproject\build-impl.xml:575: Java returned: 1


  2. #2
    Junior Member
    Join Date
    Jun 2012
    Posts
    29
    Thanks
    2
    Thanked 7 Times in 7 Posts

    Default Re: Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal c

    please provide you code so that we can have look

  3. #3
    Member
    Join Date
    Apr 2012
    Location
    Superior, CO, USA
    Posts
    80
    Thanks
    0
    Thanked 14 Times in 14 Posts

    Default Re: Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal c

    You're using "ant" and it is asking to compile under Java 7 (1.7) and you don't have a 1.7 compiler on your machine.
    Need Java help? Check out the HotJoe Java Help forums!

Similar Threads

  1. Replies: 3
    Last Post: December 7th, 2011, 02:03 AM
  2. Replies: 6
    Last Post: November 12th, 2010, 04:40 AM
  3. Replies: 2
    Last Post: March 26th, 2010, 11:22 AM
  4. Please help! Exception in thread "main" java.lang.NullPointerException
    By Arutha2321 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 18th, 2009, 02:25 AM
  5. Replies: 1
    Last Post: October 25th, 2009, 11:54 AM