`
zzy7182
  • 浏览: 123446 次
  • 性别: Icon_minigender_1
  • 来自: 火车头
社区版块
存档分类
最新评论

change compile level

 
阅读更多
Syntax error, 'for each' statements are only available if source level is 5.0

The solution:

把jre指定为jre1.5,把compile level设置为5.0

当出现如下提示:
Change workspace compliance compliance and JRE to 5.0.->Set workspace compiler compliance settings to '5.0'.

Change project compliance compliance and JRE to 5.0.->Set project compiler compliance settings to '5.0'.

解决方法:
Window->preference->java->compile->compile copliance level .


分享到:
评论

相关推荐

    Android代码-Android 两状态 或者 三状态 Switch 按钮,三状态切换超实用。

    RMSwitch A simple View that works like a switch, but with more customizations. With the option to choose between two or three states....Min API level: 16 (Android 4.1) Usage To use them, just

    Android代码-CalendarDateRangePicker

    Swipe to change month Full customization Small in size Material design support Resolution support Screenshots Developer setup Import DateRangePicker dependency For Gradle: Add following line to App...

    Android代码-android-ui

    Requires API level 14 Download example apk Components ActionView A widget which can dynamically animate between defined Actions. ```xml You can dynamically change the action with: ```java actionView...

    akkajava.pdf

    Akka is here to change that. Using the Actor Model we raise the abstraction level and provide a better platform to build scalable, resilient and responsive applications—see the Reactive Manifesto ...

    Bochs - The cross platform IA-32 (x86) emulator

    default options) to BX_CPU_LEVEL=6 with SSE2 enabled. - CPU - Implemented PCLMULQDQ AES instruction - Implemented X2APIC extensions / enable extended topology CPUID leaf (0xb), in order to enable...

    微软内部资料-SQL性能优化3

    [COMPILE] – Compile Lock Index Lock sub-Resources: Full Index Lock (default) [INDEX_ID] – Index ID Lock [INDEX_NAME] – Index Name Lock [BULK_ALLOC] – Bulk Allocation Lock [DEFRAG] – ...

    IBO v5.3.3 Build 1955(January 2, 2014) Full Source

    Change Log: 12/30/2013 Version 5.3.3 [Build 1955] I revised the widestring to unicodestring encoding and decoding routines to make use of the WinAPI directly for all code page/charset types. I ...

    工作学习记录.pdf

    命令中涉及的参数如`-bt`(开始时间)、`-et`(结束时间)、`-s`(指定信号或层次)、`-level`(信号提取深度)等,可以根据需要进行设置。 7. `fsdbextract`:用于从FSDB文件中提取特定时间段的波形数据,指定`-bt...

    TeeChart Pro Activex Control v2018

    level of controls !). For a VB application no code change is necessary. Please see the following notes for other environments. The original property has been hidden in the interface and ...

    TeeChart2018ActiveX_0_2_9Eval3264

    level of controls !). For a VB application no code change is necessary. Please see the following notes for other environments. The original property has been hidden in the interface and ...

    asp.net mvc

    Compile the application and run it. If any errors occur, refer to the Breaking Changes section of this document for possible solutions. New Features This section describes features that have been ...

    erlang日志应用log4erl(非sasl)

    - If you run change_log_format/1,2 and appender crashed, a restart from the supervisor will not record the latest format used. It will only use either the default format or the format used in the ...

    opensc-0.12.0.tar.gz

    * Improved debugging support: debug level 3 will show everything except of ASN1 and card matching debugging (usualy not needed). * Massive changes to libopensc. This library is now internal, only ...

    ic综合工具指导

    - `top_level_syn.tcl`:不含PAD的顶层综合脚本。 - `pad_add.tcl`:含PAD的顶层综合脚本。 将顶层脚本分为不含PAD和含PAD两个版本的原因在于避免DC在计算路径延时过程中可能出现的问题。具体细节可以在相关文档...

    WPTools.v6.29.1.Pro

    - With Delphi XE2 or XE3 it is possible to compile WPTools into a 64 bit applications. You need WPTools 6 PRO or WPTools 6 Premium for this. - Localization and Inch/CM selection see ...

    php.ini-development

    The directory from the --with-config-file-path compile time option, or the ; Windows directory (C:\windows or C:\winnt) ; See the PHP docs for more specific information. ; ...

    ICS delphixe10源码版

    all developers having contributed (When no name is given, the change is by F. Piette). I can't list all contributors here but I want to specially thanks two specially active contributors: - Arno ...

    Mpeg2_Decoder

    Please follow the instructions in the top-level Makefile to activate X Window System support. <br>Step 2: edit src/mpeg2dec/config.h ---------------------------------- <br>In most cases, ...

Global site tag (gtag.js) - Google Analytics