[nbusers] Re: Build problem - Invalid option javac: invalid flag: -Xmx256m

  • From: Edson Richter < >
  • To:
  • Subject: [nbusers] Re: Build problem - Invalid option javac: invalid flag: -Xmx256m
  • Date: Mon, 1 Oct 2012 09:03:21 -0300
  • Organization: Simkorp Inform├ítica Ltda

Em 30/09/2012 15:39, Benno Markiewicz escreveu:
" type="cite">

the flag is meant for the Java command only. not for the javac (Java Compiler) command. search your netbeans config for this misconfiguration!

Am 30.09.2012 20:17 schrieb "sahar_ad" < "> >:
I work with netbeans 5.5.1 and jdk6 and my project is ok.but i want to switch to netbeans ide 7.1.2 with jdk 7 but i got this error

javac: invalid flag: -J-Xms256m
Usage: javac <options> <source files>
use -help for a list of possible options

does anybody knows what should I do?

Regards,
Sahar




Can you please provide information about which jdk 7 distro you have?

java --version

and

java --fullversion

?

I've tried with Oracle JDK 7.0.5 here, and it works perfectly.

Regards,

Edson



[nbusers] Re: Build problem - Invalid option javac: invalid flag: -Xmx256m

Edson Richter 10/01/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close