[JAVA] How to use Eclipse on my PC with 32bit and 2GB of memory

The laptop I'm using is using Windows with 32bit and 2GB of memory, but even if I installed Eclipse on Windows as it was, the memory became full and I couldn't operate it. I wanted to do java development with Eclipse somehow, so I installed Eclipse on VMware in my notebook PC and tried to verify the operation.

environment

VMware Player6.0.7 CentOS6.9 Eclipse-4.7.2

Eclipse installation

Download installation media eclipse

Click Download Packages when accessed https://gyazo.com/3f108801d67505f1281370501a5d4a8f

Change the pull-down menu that says Windows in the upper right to Linux https://gyazo.com/82c09810a9b90840fa20674c4db8c831

Select the target bit and download https://gyazo.com/a9b9dcd4c1aa3fb5cb985ea952461643

Transfer the downloaded tar.gz file to the server and place it in / opt If you do not know the transfer method, refer to this.

sudo tar xzvf eclipse-dsl-oxygen-2-linux-gtk.tar.gz -C /opt

Add a version to the directory name for future management

sudo mv /opt/eclipse /opt/eclipse-4.7.2

Create a configuration file and enable icon selection from the GUI screen

sudo vi /usr/share/applications/eclipse-4.7.2.desktop



[Desktop Entry] Version=1.0 Name=Eclipse oxygen(4.7.2) Name[ja]=Eclipse oxygen(4.7.2) Comment=Eclipse oxygen Comment[ja]=Eclipse oxygen Exec=/opt/eclipse-4.7.2/eclipse Icon=/opt/eclipse-4.7.2/icon.xpm Terminal=false Type=Application Categories=Development;


## Java environment construction
 Installation

sudo yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel


 Version confirmation

$ dirname $(readlink $(readlink $(which java))) /usr/lib/jvm/jre-1.8.0-openjdk.i386/bin


 Set the previous path to / etc / profile

```sudo vi /etc/profile```

export JAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk.i386 export PATH=PATH:JAVA_HOME/bin export CLASSPATH=.:JAVA_HOME/jre/lib:JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar


 Reflect settings

source /etc/profile


## Start-up
 Application-> Programming-> eclipse
[![https://gyazo.com/21844421a37da2e346ccc4698f8dfb33](https://i.gyazo.com/21844421a37da2e346ccc4698f8dfb33.gif)](https://gyazo.com/21844421a37da2e346ccc4698f8dfb33)

 I was able to start it safely.
 After that, I added Japanese support and was able to move it safely in a new project.
 In a virtual environment, it seems to work lightly in the reserved memory because no extra apps are installed.
 Also, since Eclipse originally worked on Unix, it seems that it was not compatible with Windows.

 reference
http://zero-config.com/centos/eclipse-luna-001.html

http://home1.cyber-labo.co.jp/jamwiki-0.8.4/e-wiki/eclipse%E3%81%A7%E3%81%84%E3%81%93%E3%81%86%EF%BC%81


Recommended Posts

How to use Eclipse on my PC with 32bit and 2GB of memory
A memorandum on how to use Eclipse
How to use Apache Derby on Eclipse
How to use Z3 library in Scala with Eclipse
How to use JDD library in Scala with Eclipse
How to use Eclipse Debug_Shell
Explanation of Ruby on rails for beginners ④ ~ Naming convention and how to use form_Tag ~
How to build a Jenkins server with a Docker container on CentOS 7 of VirtualBox and access the Jenkins server from a local PC
How to use OpenCV 4 on Android and view camera live view
How to use trained model of tensorflow2.0 with Kotlin / Java
How to deal with different versions of rbenv and Ruby
How to use StringBurrer and Arrays.toString.
How to use Ruby on Rails
Use Git with SourceTree and Eclipse
How to use equality and equality (how to use equals)
How to use setDefaultCloseOperation () of JFrame
How to use Bio-Formats on Ubuntu 20.04
How to use mssql-tools with alpine
Results of trying to use NVENC (CUDA) with Ubuntu 18.04 on WSL2
How to use PlantUML with Visual Studio Code (created on October 30, 2020)
How to install and use Composer on an ECS instance on Ubuntu 16.04
[Docker-compose] How to use unnamed and named volumes of volumes. Bind mount
[Ruby on Rails] "|| =" ← Summary of how to use this assignment operator
Steps to install Maven on Mac and use it in Eclipse
How to use OrientJS and OrientDB together
[Ruby on Rails] How to use CarrierWave
How to use BootStrap with Play Framework
I want to use DBViewer with Eclipse 2018-12! !!
How to install Eclipse (Photon) on Mac
[Swift] How to connect TabBar with Storyboard Reference and also use NavigationController
How to set up and use kapt
How to use args :, environment :, env_file: and .env files with docker-compose command
[Java] [Maven3] Summary of how to use Maven3
[Java] Note how to use RecyclerView and implementation of animated swipe processing.
[Ruby on Rails] How to use redirect_to
[Ruby on Rails] How to use kaminari
How to use substring and substr methods
How to use @Builder and @NoArgsConstructor together
How to use ToolBar with super margin Part1 Set characters and change colors
[Laravel] How to deal with out of memory error when composer require [Docker]
How to start with Hyper-V instead of WSL2 on Docker Desktop for Windows
How to share on the host side (windows) and guest side (CentOS 7) with VirtualBox
JDBC promises and examples of how to write
How to use MyBatis2 (iBatis) with Spring Boot 1.4 (Spring 4)
How to use built-in h2db with spring boot
How to use Java framework with AWS Lambda! ??
Notes on how to use each JUnit Rule
Output of how to use the slice method
How to use Segmented Control and points to note
How to use Java API with lambda expression
How to get started with Eclipse Micro Profile
How to use enum (introduction of Japanese notation)
How to use scope and pass processing (Jakarta)
How to use JQuery in js.erb of Rails6
How to build API with GraphQL and Rails
How to use nfs protocol version 2 with ubuntu 18.04
How to use docker compose with NVIDIA Jetson
How to use nginx-ingress-controller with Docker for Mac
[Ruby on Rails] How to use session method
How to run NullpoMino 7.5.0 on Ubuntu 20.04.1 64bit version
[Java] How to use Calendar class and Date class