Skip to main content

mr2, midp compile problem in win32

1 reply [Last post]
wewantjk
Offline
Joined: 2007-06-27
Points: 0

Hi,

Is there any specific java version that I need to use to compile midp?
Currently I use j2sdk1.4.2_15, and I'm getting this error.
Please, help.

Thanks,,

=======================================
MIDP Subsystem and Module Configuration
=======================================

SUBSYSTEMS = configuration properties_port example example ver
ifier jams example core i18n highlevelui lowlevelui rms security gcf file http s
erial serial_port socket socket_notify ssocket udp push events tool automation l
inks media
SUBSYSTEM_AMS_MODULES = jams
SUBSYSTEM_EVENTS_MODULES = master_mode
SUBSYSTEM_PUSH_MODULES =
SUBSYSTEM_I18N_MODULES = common
SUBSYSTEM_LCDUI_MODULES = chameleon
SUBSYSTEM_GRAPHICS_MODULES = putpixel
SUBSYSTEM_MMAPI_MODULES =
SUBSYSTEM_PTI_MODULES = javapti
SUBSYSTEM_PROTOCOL_MODULES = ssocket
SUBSYSTEM_RMS_MODULES = common linear_index
SUBSYSTEM_SECURITY_MODULES = crypto file_digest internal_api_protection midp_p
ermissions reference_permission_dialog pki publickeystore secure_random
SUBSYSTEM_TOOL_MODULES = keytool jadtool imageutil skinromization l10n_gen
erator

... creating directories c:/out/midp/bin/i386
... creating directories c:/out/midp/obj_g/i386
make.exe[1]: Entering directory `E:/SMCL/PhoneMe_Src/May08_2007/midp/build/javac
all'
... searching updated .java files
... c:/out/midp/tools_classes/l10nGenerator.manifest
... building l10n generator
... c:/out/midp/tools_classes/l10nGenerator.jar
... merging configurations
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sun/xml/t
ransform/CodeTransformer (Unsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
make.exe[1]: *** [c:/out/midp/generated/merged.xml] Error 1
make.exe[1]: Leaving directory `E:/SMCL/PhoneMe_Src/May08_2007/midp/build/javaca
ll'
c:\cyg4me\bin\make.exe: *** [build_classes] Error 2
bash-2.05b$

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
aap031
Offline
Joined: 2006-10-18
Points: 0

Hi!

Looks like a late reply but just in case. This seem to be because you have configurator tool compiled earlier with 1.5. This tool is compiled and then used during the build process automatically. To fix the problem you just need to perform a clean build to remove compiled version of this tool to get is recompiled with 1.4.2

Regards,
Andrey