zoukankan      html  css  js  c++  java
  • How to install java and eclipse on linux

    First of all, download from the website of java.

    I download 'jdk-8u102-linux-i586.tar.gz'

    unzip it to the specifical derictory.

    with the command:tar -zxvf jdk-8u102-linux-i586.tar.gz -C /home/sonn/Workspace/softwares/sonn_java/

    then you just need to set the sys Path.with the commands:

    sudo gedit /etc/environment

    and the command 'source /etc/environment' to make it effective.

    sudo gedit /etc/profile:

    finally reboot the PC. and you can see if it have become effective.

    then you can install eclipse, download and unzip.and go to the directory run command the file 'eclipse' to startup.

    but..........................................................

    that's really disgusting problem.

    At last I found it was because I installed the jdk which was for 32-bit linux.

    reinstall jdk with the right edition.

    O.K.

    THEN I CAN DEVELOP JAVA ON MY UBUNTU.

    ENJOY IT.

  • 相关阅读:
    Spring IOC知识点一网打尽
    Spring中-IOC-Bean的初始化-循环依赖的解决
    原型模式(Prototype)
    生成器模式
    工厂模式
    单例模式
    查询性能优化
    索引
    sql游标的使用入门
    js和C#中的编码和解码
  • 原文地址:https://www.cnblogs.com/rixiang/p/5876377.html
Copyright © 2011-2022 走看看