Solutions to java mess problems in suse10.1xgl

Source: Internet
Author: User
Solutions to java chaos in suse10.1xgl-Linux general technology-Linux programming and kernel information. For details, see below. The java program interface on xgl is messy. According to my test analysis, it is probably caused by the jvm conflict between xgl and gjc, I used to install yongzhong office2007beta before configuring the java development environment. Later, due to the need to use eclipse, I configured the java Development Environment in advance and started eclipse under xgl. I thought the problem would be repeated, but I was surprised.

To solve this problem, you only need to download the latest jdk1.5 for linux installation package from sun, decompress it to your favorite directory, configure the corresponding java development environment, log out, and log on again. Because the new JAVA_HOME will replace the original gjc JAVA_HOME, and the new version of jdk1.5 and xgl coexist well and there is no problem.

Corresponding configuration file ~ /. Bash_profile

#/Usr/local/jdk1.5 is my jdk path
JAVA_HOME =/usr/local/jdk1.5
CLASSPATH = $ JAVA_HOME/lib/dt. jar: $ JAVA_HOME/lib/tools. jar
PATH = $ PATH: $ JAVA_HOME/bin
Export JAVA_HOME CLASSPATH PATH

Send an image to prove it:




(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // www.cublog.cn/u/5395/upfile/060704231925.png'); ">



In addition, it should be noted that the installation of xgl itself is not that troublesome. If it is the running of the agent running on the agent running machine:

1-install the latest driver for the video card and ensure 3d acceleration is enabled. For the ati Video Card, make sure that the video card driver configuration file xorg. the device section in conf contains the Option "KernelModuleParm" "agplock = 0" line.
2-install xgl-hardware-list, xgl, compiz three rpm packages, or go to opensuse above and below, the version seems to be cvs-20060626, feel more stable, there are also many video card drivers.
3-after the restart, go to the gome control center and find the Desktop Effect Settings (xgl of the latest version, which is Effect Settings in the control center) and Enable it directly. At this time, the system will ask you to log out and log on again, I recommend that you restart the instance directly.
OK, the user of the machine learning platform for AI + gnome is so simple that it does not have to be as arrogant as I did in my previous article. I have never tried kdm. You can try it on your own.

If you find that the running.

You can go to the console (ctrl + alt + f1) and restart (ctrl + alt + del, because the black screen cannot see anything, so this method is best ). Enter failsafe in grub (as in windows security mode ). It is actually an init 3 mode after entering, and directly enter the command

# Gnome-xgl-switch -- disable-xgl

To disable automatic xgl startup at startup, and then you can directly start the running of the running command for the target instance. The command is as follows:

# Gestation

Let's take a look at the effect and try to see if it can be used in gnome.

Then, you can reboot the system and enter the normal mode again to see how the situation is. Remember to log on to the machine after the machine is started with the machine learning language (geme) and manually select gnome as the language. Generally, there should be no problem unless the problem occurs with your graphics driver.

I upgraded the atigraphics card driver and had to reinstall it when I uninstalled 8.25 and installed 8.26. Later, we found that the xorg. conf file configuration of 8.25 and 8.26 is indeed not the same.

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.