launching vscode in terminal is "code . "
launching IntelliJ in terminal is "idea . "
launching Elcipse in terminal is "?"
I am new to Eclipse, does this mean I downloaded the IDE wrong?
Does Eclipse not have terminal/command line support?
First of all, download it from the official site:
https://www.eclipse.org/downloads/packages/
If you love the shell, download the tar.gz not the installer:
eclipse-java-2022-09-R-linux-gtk-x86_64.tar.gz
Uncompress it and you will see the executable file
Then open a shell with java available and run
./eclipse
Eclipse will be opened
Same steps should be work on mac and windows.
java
Latest version had java included, but If you had an error related to missing java, you don't need to install it. Just download it and export these variables in the shell
export JAVA_HOME=/home/foo/Apps/openjdk-aaa-bbb
export PATH=$PATH:$JAVA_HOME/bin
Related
I have a desktop shortcut that's supposed to run eclipse
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
The Icon is just the txt icon and it says Error launching program
Also when I try to run eclipse by double clicking the executable nothing happens at all
When I put /opt/eclipse/eclipse in the terminal I get this output.
You downloaded a 32-bit version of Eclipse. This will not run with a 64-bit JVM (long story, native libraries).
Remove your current Eclipse, download a 64-bit version of Eclipse and redo the whole installation. Note that you need Java 8 for the Eclipse version you want to run now, and that may not be easily available for Ubuntu 12.04. Get Java 8 running first or get an older version of Eclipse or update to Ubuntu 14.04 and then Ubuntu 16.04 which has OpenJDK 8 which will do.
Note: These days Eclipse really want you to use their installer. You may want to do that. If you download a zip file anyway, just unzip it and run the eclipse binary. You do not have to put it in /opt unless you want to share with other users on your machine.
i need to execute a ant script inside eclipse luna using java 7.
The problem is that if i try to change the path with jenv or try to set JAVA_HOME inside eclipse the ant script inside eclipse is always executed with java 6.
The OS is macOS Sierra.
I have to use eclipse.ini ?
Thanks
Assuming you are running the Ant script the normal way you can configure this in the configuration for the script.
Open the External Tools Configuration dialog using 'Run > External Tools > External Tools Configuration...'.
Find your script in the 'Ant Build' section and then look at the 'JRE' tab where you can set the JRE/JDK to anything you have told Eclipse about.
I am trying to follow this guide to set up hadoop on my eclipse however, when I am at this part:
$ mvn install -DskipTests
my terminal returns
-bash: mvn: command not found
what am I doing wrong here?
Install homebrew the missing package manager for macos
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then install maven
brew install maven
You need to either install eclipse with maven plugin or use eclipse itself to run the maven commands or set environment variable to the location where maven exists or install maven and configure env variable to the location of maven installation.
You can find instructions to install in this link for windows.
http://www.mkyong.com/maven/how-to-install-maven-in-windows/
try command:source ~/.bash_profile in you terminal
One method, you can try, is to use the login command from inside the eclipse terminal. It will ask for your system username and password. On successful login, you'll get the fully working eclipse terminal (just like the normal mac terminal).
One heads-up though, after login eclipse terminal will start from the home directory (~/), so it would be better to do a pwd before using the login command in order to copy the directory path and do a cd to the exact directory you intended. Also, you have to redo it for each new terminal you open.
An EASY way is to use a plugin called EasyShell (search it in the marketplace). It makes life easier.
Eclipse gave me an error specifying that no JRE is installed while I was trying to configure Erlide in eclipse.
I added path to erlang directory in 'System Variables'. Then I installed erlang plugin for eclipse, added erlang installation directory path in Eclipse preferences and restarted Eclipse.
After restarting eclipse started giving me error about JRE.
Below steps might help you to solve your problem.
Install JDK and JRE - Here are step by step Instructions OR ANOTHER
Verify you setup JAVA_HOME and JRE_HOME and PATH into environment variable.
You can also investigate your Java version via Command Prompt:
Open a Command Prompt (Navigate to “Start” => “Run” and type “cmd”)
Then enter the following command:
java –version
If you don't see your java version you have to follow step 1 carefully again
Installed eclipse/ if already installed open the same. Here are step by step Instructions
NOTE: Make sure that you have same bits for both JDK and EClipse (32 or 64). One way is to verify in your ini file.
To develop a Java program, you need a JDK not only a JRE.
Do you have a JDK installed? Have you tried to run jar, $ set | grep "JAVA_HOME" (Linux) or C:\> set | find "JAVA_HOME" (Windows) in your command prompt to see if you have Java configured in your machine?
Once you install your JDK you need to set this environment variable.
Maybe Earlide is not compatible with your JDK 1.8, can you try with jdk 1.6
eclipse executable launcher was unable to locate shared lib in windows xp OS..I keep getting this error when i launch eclipse and i browsed through but not able to find any correct solution . can anyone help me out i really in the need of eclipse right now?
Install the Java JRE/JDK ? Otherwise a more detailed error message would be helpful.
What got it all working for me was to download eclipse indigo 3.7.2 and (this is very important) EXTRACT IT DIRECTLY INTO MY PROGRAMS FOLDER. Before I would extract it to my desktop and copy into the programs folder (C:\Program Files) but I would jus get an error message saying "The Eclipse executable launcher was unable to locate its companion shared library" when trying to run eclipse.
After extracting eclipse directly to my programs folder I ran it and so far all is working well :)