`

Unsupported major.minor version

    博客分类:
  • java
阅读更多
当你在编译Java时,遇到Unsupported major.minor version类似如下问题提示:
Unsupported major.minor version 50.0
Unsupported major.minor version 49.0
Unsupported major.minor version 48.0
均属于Java版本问题,即JDK版本过低,只要选择相对应的JDK版本编译即可。
48,49,50是Java编译器内部的版本号
Unsupported major.minor version 50.0 对应于 JDK1.6(JRE1.6)
Unsupported major.minor version 49.0 对应于 JDK1.5(JRE1.5)
Unsupported major.minor version 48.0 对应于 JDK1.4(JRE1.4)
问题解决方法就是重新用老的JDK1.4编译,并在JDK1.4的环境下(包括修改JAVA_HOME,PATH,CLASSPATH)运行(可能造成Web应用程序失败)
JDK版本的不兼容给所有的Java开发人员带来了很多麻烦。
分享到:
评论

相关推荐

    simian-v20

    Major version increments with each card supported. Minor version increments with each new feature. Sub-minor version increments when an existing feature changes.

    Aria2135032bit.7z

    We use 3 numbers for aria2 version: MAJOR.MINOR.PATCH. We will ship MINOR update on 15th of every month. We may skip a release if we have no changes since the last release. The feature and ...

    RTL88x2BUv5.6.1.6_35492.zip

    M: Major version N: miNor version P: Patch number H: Hotfix number s: SVN number y: package year m: package month d: package day COEX_VER: Coext version _beta: beta driver

    EurekaLog_7.5.0.0_Enterprise

    Later is supported when map2dbg.exe tool is placed in \Bin folder of EurekaLog installation (separate download is required) 5)....Added: Exception2HRESULT in EAppDLL to simplify developing DLLs with ...

    TRegware 4.02

    - Windows 2000 / XP registry is now supported. Information is stored under HKEY_CLASSES_ROOT for 2000/XP systems. - New ban-list features allows you to ban certain users from using the next version ...

    BURNINTEST--硬件检测工具

    Windows 98 and ME are not supported in BurnInTest version 5.3 and above. Use a version of BurnInTest prior to 5.2 for compatibility with W98 and ME. Windows 95 and Windows NT =======================...

    mesa-18.0.4

    Mesa 18.0.4 implements the OpenGL 4.5 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver ...

    TICQClient Version

    Added ICQClientVer_Major, ICQClientVer_Minor constants in ICQWorks.pas[*] Some work-speed improvements[*] Improved info request/response procedures & events[*] Improved white pages (more compatible ...

    httpd2.2.12.tar

    has passed the usual votes to release that version. Only then is the final tarball packaged, removing all -rc# designations from the version number, and tagging the tree with the release number. ...

    IRPTrace2.00.002.zip

    Major/Minor function Generic Parameters Information Input Output -------------------------------------------------------------------------- IRP_MJ_CREATE + + N/A IRP_MJ_CREATE_NAMED_PIPE + - - ...

    opensc-0.12.0.tar.gz

    NEWS for OpenSC -- History of user visible changes Complete change history is available online: ... New in 0.12.0; 2010-12-22 ...* This is an beta test version. Please be careful. Do not use in ...

    servlet2.4doc

    As of version 2.1, use encodeRedirectURL(String url) instead encodeRedirectURL(String) - Method in class javax.servlet.http.HttpServletResponseWrapper The default behavior of this method is to ...

    Sakemail

    Minor changes to the scanning code for the filename of attachments.1.8.2- Fixed a bug with the filename of attachments (thanks to Taufer Pavel Ing.).- Added the function IsIPAddress from hou yg (the ...

    NewSID(光学习一下代码就可以了,没看清楚介绍别运行)

    Version 1.1 corrects a relatively minor bug that affected only certain installations. It also has been updated to change SIDs associated with the permission settings of file and printer shares. ...

    AUTOSAR_MCAL_ADC_UM.pdf

    - **DefineADC_AR_RELEASE_MAJOR_VERSION**: 定义了 AUTOSAR 重大版本号。 - **DefineADC_AR_RELEASE_MINOR_VERSION**: 定义了 AUTOSAR 次要版本号。 - **DefineADC_AR_RELEASE_REVISION_VERSION**: 定义了 ...

    RTL8188C_8192C_USB_linux_v3.4.4_4749.20121105.zip

    M: Major version N: miNor version P: Patch number s: SVN number y: package year m: package month d: package day 4. wpa_supplicant_hostapd/ 4.1 wpa_supplicant...

    曲线拟合工具CurveExpert 1.0

    now supported, similar to the implementation of QuickCalc. Changes: + If background processing is enabled, during iteration the cursor is a combined arrow/hourglass to inform the user that he/...

    Mpeg2_Decoder

    Systems with 16 bit 'int' variables or segmented memory models are not supported. <br>Please report any modifications you had to apply in order to install the programs on your system to the ...

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

    - Major configure/cpu rework allowing to enable/disable CPU options at runtime through .bochsrc (Stanislav) - Bugfixes for CPU emulation correctness and stability - Implemented X2APIC extensions ...

Global site tag (gtag.js) - Google Analytics