Blackberry simulator Internet Settings (exception in thread "Main" Java. Lang. unsupportedclassversionerror: B

Source: Internet
Author: User

Some settings are required to use the browser of the BlackBerry simulator to access the Internet.

1. You need to download and install MDS (for earlier versions, you need to download it online ). It seems that 4.5 and 4.6 come with this. Under the installation path MDS directory.

Run run. bat

2. Make sure that the environment variable java_home is set.

Problem: But when I run in the 4.6 environment, two cmd windows will pop up quickly. It seems that something went wrong... But it's hard to see. Solution:

After you edit run. bat., you will see the "Start CMD/V: On/c..." command lines. You can remove the full start.

Change to "CMD/V: On/C ". Then add the command pause to the last line.

Run run. bat again. At this point, we can see the exception:

 

Exception in thread "Main" Java. Lang. unsupportedclassversionerror: bad version n
Umber in. Class File
At java. Lang. classloader. defineclass1 (native method)
At java. Lang. classloader. defineclass (unknown source)
At java. Security. secureclassloader. defineclass (unknown source)
At java.net. urlclassloader. defineclass (unknown source)
At java.net. urlclassloader. Access $100 (unknown source)
At java.net. urlclassloader $ 1.run( unknown source)
At java. Security. accesscontroller. doprivileged (native method)
At java.net. urlclassloader. findclass (unknown source)
At java. Lang. classloader. loadclass (unknown source)
At sun. Misc. launcher $ appclassloader. loadclass (unknown source)
At java. Lang. classloader. loadclass (unknown source)
At java. Lang. classloader. loadclassinternal (unknown source)
Press any key to continue...

This is because JDK is incorrect. I used JDK 4.6 and later found that JDK 1.6 is required. (I have not tried 4.5 or a bit)

Then I set java_home = Y:/Java/jre1.6.0 in run. bat.

It is correct to run it again. If the CMD window is always enabled ,. Display

SCM 4.1.5.26 26 2008/02/06
<17:01:52. 703 CST>: [0]: <MDS-CS_MDS >:< info >:< layer = SCM, j2se 1.6.0
Charsets supported: big5, Big5-HKSCS, EUC-JP, EUC-KR, gb18030, gb2312, GBK, IBM-Thai, IBM
00858, ibm01140, ibm01141, ibm01142, ibm01143, ibm01144, ibm01145, ibm01146, ibm01147, IB
M01148, ibm01149, ibm037, ibm1026, ibm1047, ibm273, ibm277, ibm278, ibm280, ibm284, ibm285
, Ibm297, ibm420, ibm424, ibm437, ibm500, ibm775, ibm850, ibm852, ibm855, ibm857, ibm860, IB
M861, ibm862, ibm863, ibm864, ibm865, ibm866, ibm868, ibm869, ibm870, ibm871, ibm918, ISO-2
022-cn, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-KR, ISO-8859-1, ISO-8859-13, ISO-8859-15,
ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO
-8859-9, jis_x0201, JIS_X0212-1990, KOI8-R, KOI8-U, shift_jis, TIS-620, US-ASCII, UTF-16
, UTF-16BE, UTF-16LE, UTF-32, UTF-32BE, UTF-32LE, UTF-8, Windows-1250, Windows-1251, wind
Ows-1252, Windows-1253, Windows-1254, Windows-1255, Windows-1256, Windows-1257, window
S-1258, windows-31j, x-Big5-Solaris, X-EUC-JP-Linux, X-EUC-TW, X-eucjp-open, x-IBM1006
, X-IBM1025, x-IBM1046, x-IBM1097, x-IBM1098, x-IBM1112, x-IBM1122, x-IBM1123
, X-IBM1381, x-IBM1383, x-IBM33722, x-IBM737, x-IBM834, x-IBM856, x-IBM874, X-I
Bm921, x-IBM922, x-IBM930, x-IBM933, x-IBM935, x-IBM937, x-IBM939, x-IBM942, X
-Ibm943, x-IBM943C, x-IBM948, x-IBM949, x-IBM949C, x-IBM950, x-IBM964, X-iscii
91, x-ISO-2022-CN-CNS, x-ISO-2022-CN-GB, x-iso-8859-11, x-JIS0208, X-jisautodetect, X-
Johab, X-macarabic, X-maccentraleurope, X-maccroatian, X-maccyrillic, X-macdingbat, X-
Macgreek, X-machebrew, X-maciceland, X-macroman, X-macromania, X-macsymbol, X-macthai,
X-macturkish, X-macukraine, x-MS950-HKSCS, x-mswin-936, X-PCK, x-UTF-16LE-BOM, X-UTF-3
2be-bom, X-UTF-32LE-BOM, x-windows-50220, x-windows-50221, x-windows-874, x-windows-9
49, x-windows-950, x-windows-iso2022jp>
<2010-01-29 17:01:52. 718 CST>: [1]: <MDS-CS_MDS >:< info >:< layer = SCM, event = def
Ault job pool size = 10>

.........

..........

 

The configuration is successful. Do not close this window.

Then enable the simulator to access the Internet. Add the settings in Chinese. You can browse the website at will. Regardless of the List of domestic and foreign websites.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.