Javac: invalid target ?? help me pls?

hi.
first time, i have not encounter any problem about my ide ( netbeans 5.5 ) . but this time i need to build my old project i encounter a problem :
it is :
============
javac: invalid target release: 1.6
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-cp <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-endorseddirs <dirs> Override location of endorsed standards path
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime system
BUILD FAILED (total time: 0 seconds)
==================
what can i do? please help me .. thanx

Go to the project properties. ( right lick =>
properties )
then select "sources" on left side & now on the right
pane BOTTOM you'll see something like "source level"
with a drop down menu.
Select the version you're using right now from the
drop down menu.
Hope this will help.
Cheers :)
AlienX
p.s - U can find the java version you're running by
entering "javac -version" in the cmd prompt.This is the problem I have. Souce level in Project's properties is 1.4, error says about 1.6. If I override it as a compiler option it works. If I reset it as I have described previously it works.
Boris

Similar Messages

  • Javac: invalid flag: C:\XML\web.xml

    Hi,
    I created a file web.xml in JCreator. When I tried to compile the file, it showed:
    javac: invalid flag: C:\XML\web.xml.
    Does any know how to solve the problem?
    Thanks in advance.
    Dan

    The following is the full message showed after the compiling. It also happened to *.jsp files.
    --------------------Configuration: <Default>--------------------
    javac: invalid flag: C:\XML\web.xml
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are used
    -classpath <path> Specify where to find user class files
    -cp <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -endorseddirs <dirs> Override location of endorsed standards path
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -source <release> Provide source compatibility with specified release
    -target <release> Generate class files for specific VM version
    -version Version information
    -help Print a synopsis of standard options
    -X Print a synopsis of nonstandard options
    -J<flag> Pass <flag> directly to the runtime system
    Process completed.

  • What is JAVAC: invalid argument

    I have a program which compiles and runs but when I try to compile it in FORTE I get "JAVAC: invalid argument"
    What argument is it talking about here? Nothing seems to help; from mounting file systems and setting classpaths in the compilers. Any idea what I'm not doing right?
    Thanks.

    Hi,
    that is that misleading thing with error messages -
    they state a condition, that was expected, but was not fullfilled - here it was invalid argument - an argument was expected, that javac can understand, it was missing and so the error message was brought up.
    That is normal, an error message is definitely no advice, how to go on. If you will follow all the compiler-"suggestions" for example, you will get a syntactical correct program after a while, but you will be mislead to a program, that don't reflect the original semantic. Those messages are neither suggestions nor advice at all - they state a condition, that was not matched during execution - nothing more nothing less.
    greetings Marsian

  • RUL-01014 (Root Cause: javac: invalid flag)

    Hello,
    I am trying to create XML fact but I am getting the error bellow. Can someone help?
    Cannot perform operation. 'RUL-01014: Unable to add XML schema path D:\My Documents\download\Application1\Project1\event.xsd into data model. Please see the base exception for resolution. Root Cause: javac: invalid flag: Documents\download\Application1\Project1
    j
    ava.lang.Exception: javac: invalid flag: Documents\download\Application1\Project1 at oracle.rules.sdk.datamodel.impl.DataModelUtil.compileJavaFile(DataModelUtil.java:497) at oracle.rules.sdk.datamodel.DataModelManager.addXMLSchemaPath(DataModelManager.java:984) at oracle.rules.sdk.mapper.RuleObjectHelper.addSchemapath(RuleObjectHelper.java:2759) at oracle.rules.ra.uix.mvc.SchemaSelectorEH.addSchema(SchemaSelectorEH.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at oracle.rules.ra.uix.mvc.BeanEH.genericHandleEvent(BeanEH.java:869) at oracle.rules.ra.uix.mvc.BeanEH.handleEvent(BeanEH.java:838) at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source) at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source) at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source) at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source) at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source) at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source) at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:436) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

    Hi Everyone,
    I am also facing same problem. My error is as fallows
    Cannot perform operation. 'RUL-01014: Unable to add XML schema path E:\Jdeveloper\Conditional_BPELProcess.xsd into data model. Root Cause: collision in class name mapping at node "{0}". '
    java.lang.Exception: collision in class name mapping at node "{0}". at oracle.xml.jaxb.JaxbSchemaCompiler.putBindingSchema
    Please help me.
    Thanks in Advance.
    Regards

  • HT201304 Why is it not letting me download free apps on my iPad when ? It's asking for my bank details again and when I type my security number in its says its been declined from a previous purchase? Can u help me pls!

    Why is t not letting me download free apps on my iPad when it's asking for my security number and when I type it in my details on my iCloud account it's saying its been declined and asking for another payment card ? Can some1 help me pls!!

    You will need to contact iTunes support to get that sorted out: http://www.apple.com/support/itunes/contact/

  • I have a problem while typing in my MacBook pro. it is showing different characters when i type. for example: qw`e§r]t[y=   this is how when we type "qwerty|" can anyone help me pls?

    I have a problem while typing in my MacBook pro. it is showing different characters when i type. for example: qw`e§r]t[y=   this is how when we type "qwerty|" can anyone help me pls?

    You could just try changing your Input Sources under System Preferences>Language & Text:
    But I kind of doubt that's going to work. It may be a hardware problem or a system problem. If you take it into Apple they might be able to determine which and might advise a reinstallation of System software. I would take it to an Apple Store or an AASP but, first, make sure that you have a backup just in case they suggest a clean install of the system.
    Good luck,
    Clinton

  • Can anyone help me pls. , I deleted an app on my Ipod Touch, and It was deleted but when I connected my device on my computer and went to iTune "apps" , I saw the app I deleted and it says "install" .  Guys, how will I delete it permanently? Pls help me.

    Can anyone help me pls. , I deleted an app on my Ipod Touch, and It was deleted but when I connected my device on my computer and went to iTunes>"apps" , I still saw the app I deleted and it says "install" .  Guys, how will I delete it permanently? May you Pls help me. Thanks

    Just don't click install

  • HT204291 Im trying to use my apple TV to see a movie from my iphone. Since i select the airplay icon on my phone, i can only hear the voice of the movie on my screen but i cant see the movie, can anybody help me pls? Tks

    Im trying to use my apple TV to see a movie from my iphone. Since i select the airplay icon on my phone, i can only hear the voice of the movie on my screen but i cant see the movie, can anybody help me pls? Tks

    Is this a movie from iTunes? If so is it a rental or one you've purchased?

  • My adobe photoshop CS6 won't open it says: 'the preferences file is invalid'. HELP!

    My adobe photoshop CS6 won't open it says: 'the preferences file is invalid'. HELP!

    Please read this and proceed accordingly:
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html

  • Somebody help me. pls.

    I'm beginner on FCP.
    and I captured from my HDV and try to edit.
    but,
    viewer is strange.
    every frame in viewer is white(blank) and sometimes marked "X"
    it is normally displayed only when 'play'
    In single frame, jogging and shuttling, reverse playing, it just blank,
    (when jogging, sound is hearing)
    but point it and move to timeline, I can see every single frame.
    I already know HDV is long GOP mpeg2 and so it is hard to en/decode.
    but I think my case is abnormal.
    somebody help me, pls.

    but,
    viewer is strange.
    every frame in viewer is white(blank) and sometimes marked "X"
    it is normally displayed only when 'play'
    In single frame, jogging and shuttling, reverse playing, it just blank,
    (when jogging, sound is hearing)
    but point it and move to timeline, I can see every single frame.<
    Welcome to the family. Sorry I do not understand your language, I only know English.
    Check the Canvas View controls to see if you have set it to ALPHA.
    bogiesan

  • I'm trying to download Lightroom 5 onto my 2nd computer, and I'm getting a message that my license number is invalid, please help!

    I'm trying to download Lightroom 5 onto my 2nd computer, and I'm getting a message that my license number is invalid, please help!

    Keith_Reeder wrote:
    Well - as long as he/she has registered it - it's not really going to hurt to do so.
    I wouldn't post mine up though...
    But in LR registration with Adobe is is not automatic as was the case for PS. It is an optional action that must be initiated by the user. He may not have done so.
    now i downloaded the trial version of lightroom in the new computer
    OP, be sure that you have downloaded the trial for the perpetual version and not for the rental (cloud) version.

  • I purchased the download version PE13 from adobe. Got serial # from adobe,however when serial number is typed in I get a message that says it is invalid. Help! I am using windows 7.

    I purchased the download version PE13 from adobe. Got serial # from adobe,however when serial number is typed in I get a message that says it is invalid. Help! I am using windows 7.

    Suggest that you work your way through this tech doc. You may have to contact Adobe directly.
    Find your serial number quickly

  • Trying to install Logic studio 8. Says serial number is invalid. Help..

    Trying to install Logic studio 8 and it comes up with an alert saying serial number is invalid. Help please...

    Acrobat 9 is not longer supported. The serial number severs for those products are no longer available.
    Acrobat 9 Pro - Serial Number Problem - 3 Separate Licenses

  • HT201303 When I try to update my apps it takes me to my billing and says my security code on my card is invalid. Help?

    iTunes is telling me that the security code on the back of my visa is invalid. Help?

    Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorisations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Help! Pls! Ti4800SE-VTD8X

    Help! Pls!
    Recently purchased the Ti4800SE-VTD8X card.
    Anyways, problem is my system seems to running well slow and i mean slower than my very old PII back up sys!...
    I had a Matrox G450 eTv card in the unit prior and things worked fine! I have done a complete reinstall of Xp and things were still slow! Last night i thought i would try the old card and things went back to normal i.e nolonger slow?  
    Things i have done:
    Uninstalled the msi drivers and installed nvidia Drivers and back again!
    Changed the settings and only used one monitor...
    Changed my Psu
    Unplugged all other devices (Sound etc...)
    Put some more heat sink solution on the mem chips on the card (Not silver)
    Not really sure what else to try? So any help and advice would be greatly appreciated...
    Opp Sys: Windows Xp Pro
    Cpu: P4 2Ghz
    Mem: 1.5gb
    Hard Drives: 4 x 100gb Ibm 7200's
    Mother Board: 845E Max2 MS-6398E
    S/Card: Creative Soundblaster Audigy
    Monitors: 2 x 17" Flat Panel Screens
    TIA,
    Digitech (Or not so as the case may be :-)

    Quote
    Cpu temp is at 49c is that about right?
    Ahh...for a P4 it seems a bit warm but keep in mind that ambient room temp and airflow in the case can influence the temps reported. As long as you took your time and made sure you mounted the heatsink correctly you should be in good shape.
    As for the Codegen PSU I am curious about the power specs. Is there a sticker on it that shows amps for the +3.3 +5 and 12v?
    Codegen has been known to be troublesome in the past. If you start getting random crashes, reboots etc. while taxing the video, you may consider the power supply as a last resort.
    You seem to be in decent shape :D
    Take a look here, it's written for an AMD system but you can get some good info there.
    Cooling Guide

Maybe you are looking for

  • Can Cover Flow view be limited to playback of only one album at a time?

    Hi all, I've been using the Cover Flow view in my iTunes Library more and more lately (after years of suffering owning a slow machine). But there has been a question regarding playback that has been slightly nagging me for a little while. I couldn't

  • Preview - consistent pdf size in full screen

    Hi, I read a lot of papers in pdf format using Preview. Usually this is in full screen mode to enable larger text, however I can't find a setting to increase the page size in full screen. I can increase the width with a two finger swipe on the trackp

  • Standard Text Key printing on Job Ticket Shop Paper

    Hi, I have set up using transaction CA10 a series of Standard Text Keys containing approx 500 characters. I am using the Standard Text Key on a Service Order but when I am printing the Service Order the first 40 characters are only being printed. We

  • UFL u2lpdmtime.dll that implements this function is missing.

    UFL u2lpdmtime.dll that implements this function is missing. I get this error when I try to run an a report. I just installed Crystal Reports Version 11 on my machine.

  • Black levels and exporting

    Hey there- When I export anything through render cue using Lossless, Lossless with alpha or Custom Quicktime the black levels of the rendered file are 5-10 units high regardless of the program that I use to open it. I'm exporting to a local hard driv