Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install preverify system in CentOS

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to install the preverify system in CentOS. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

CentOS preverify has updated a lot of versions, and I personally think CentOS preverify works well in the CentOS series. I would like to recommend it to you. Nowadays, the technology is constantly updated, and all kinds of usage files have been eliminated. I think there are some good things like CentOS preverify that are worth using. How to resolve the "Segmentation fault" error message when using CentOS preverify? (OS) (Linux) (CentOS) (Java) (J2ME) (MIDP)

Abstract

The main function of CentOS preverify is to check whether the class which was originally compiled in J2SE can be executed normally in the MIDP device. But even though it is the simplest HelloWorld.class, there can be "Segmentation fault" errors.

Introduction

CentOS preverify execution environment: CentOS 5.1 + J2SE 1.4.2.17 + J2ME CLDC 1.1 + μ Clinux 20070130

For the simplest HelloWorld, the following error message appears when using preverify.

[root@localhost uClinux] #. / preverify-classpath classes.zip-verbose HelloWorld

[Output directory for verified classes: output]

Segmentation fault

Solution

Step 1:

CentOS preverify shows the language family you are currently using

[root@localhost uClinux] # echo $LANG

En_US.UTF-8

Whether you use Chinese or English, this error message appears as long as you use UTF-8.

Step 2:

CentOS preverify is temporarily changed to another language family.

[root@localhost uClinux] # export LANG=en_US.ISO8859-1

[root@localhost uClinux] # echo $LANG

En_US.ISO8859-1

Step 3:

CentOS preverify successfully implements preverify

[root@localhost uClinux] #. / preverify-classpath classes.zip-verbose HelloWorld

[Output directory for verified classes: output]

[Loaded java/lang/Object] from [classes.zip]

[Loaded java/lang/Class] from [classes.zip]

[Loaded java/lang/String] from [classes.zip]

[Loaded java/lang/Throwable] from [classes.zip]

[Loaded java/lang/IllegalArgumentException] from [classes.zip]

[Loaded java/lang/RuntimeException] from [classes.zip]

[Loaded java/lang/Exception] from [classes.zip]

[Loaded java/lang/StringIndexOutOfBoundsException] from [classes.zip]

[Loaded java/lang/IndexOutOfBoundsException] from [classes.zip]

[Loaded java/io/InputStream] from [classes.zip]

[Loaded com/sun/cldc/io/ResourceInputStream] from [classes.zip]

[Loaded. / HelloWorld.class]

The above content is how to install preverify system in CentOS. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report