Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
hey everyone i am trying to install Eclipse helios for C/C++ developers on a ubntu OS
i am new with all this ubntu stuff - even though i downloaded a version of helios from the Eclipse site i have no idea how to install the program
i can't find the eclipse.exe file that it has when is installed it in windows!
thanks allot.
Brad
Install it using the Ubuntu Software Centre and not through the Eclipse website. Or alternatively, open a terminal by pressing alt + F2 and type sudo apt-get install eclipse it might ask for your administrator password and tell you the file size, all you have to do is agree by typing 'y' then it will be installed automatically.
In case you want to use the file that you have downloaded, telling us what kind of file it is would help us give you the necessary instructions. For example it might be a tarball or a gzip archive.
There are no exe's on Linux! Simply unzip the version you downloaded (32 or 64 bit), put the new eclipse folder to some location (e.g. /opt), and run /opt/eclipse/eclipse - voilá.
Make sure you have the correct JDK installed (Sun JDK or OpenJDK) in the correct flavour (32/64 bit - depending on the version of eclipse you downloaded).
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have been looking into OpenGL development recently and after watching a tutorial, noticed I was unable to compile my code. References that seem to be two features added specifically in SDL 2.0 are undefined according to Eclipse. I tried searching for a way to install SDL 2.0 on Debian (more specifically I am using #! but it is close enough to Debian that a fix on Debian will work).
The way I keep finding is to type into the terminal:
sudo apt-get install libsdl2-dev
This package is not found by aptitude. Can anyone tell me how to install SDL 2.0 on Debian?
Ok. Thank you to genpfault for telling me that libsdl2-dev was on backports! I would have never figured it out, especially because I have never used backports before!
For those of you stuck on this problem go to the following link if you do not know how to use backports:
http://backports.debian.org/Instructions/
Once you have setup backports, open up your terminal and run the following if you are using wheezy:
apt-get -t wheezy-backports install "package"
For other versions of Debian, I think you just need to put the name of your operating system version in the above code where I put "wheezy".
Remember in your IDE or in your terminal to compile with SDL2 instead of SDL. Best of luck!
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have newly started using linux mint (linux at all).
I have installed two jre versions on it. One openjdk and another oracle jdk. Here is how my update-alternatives --config java output says -
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 auto mode
1 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode
* 2 /usr/lib/jvm/jre1.7.0_13/bin/java 2 manual mode
I want to upgrade oracle jre listed at #2 above. Is there a way to selectively upgrade that?
Here is what I tried:
1. I tried finding this jre in package manager but I couldn't find it, may be because I manually installed it.
2. Did 'apt-get update' and tried to find oracle java in 'apt-cache search' so that I can upgrade from there, but again couldn't find oracle java in search.
The final approach that I am thinking of trying is to download latest version and install it along with 1.7.0_13 and making that choice. However, I want a way to upgrade existing.
Any inputs?
Ubuntu and other Linux distributions usually provide a custom linux version (such as openJDK). To install the official versions, I recommend you to use this site: http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/, from where I took the steps to install it in my machine.
There is also this option, that talks specifically about Linux Mint and is simmilar : http://www.vivaolinux.com.br/dica/Instalando-Java-no-Linux-Mint-Ubuntu-e-derivados
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Does anyone know how to put a launcher in the panel for an application during an rpm install? For example next to the firefox launcher.
I'm guessing it might involve moving the .desktop file into a directory during %post in the spec file?
The rpm is for a RHEL 6.1 system with gnome.
I'm creating an rpm from a spec file for a project I'm working on. I've also put a launcher into the Applications\Accessories menu using the .desktop file. I've been asked to put a launcher into the panel for the application and have tried searching with little success.
Any advice would be welcome.
In GNOME 2 to manually add a launcher to the top panel, you need to put the same .desktop file, you used for Desktop Launcher, to $home/.gnome2/panel2.d/default/launchers/. Where $home should be resolved to the user's home path.
UPDATE
In addition to putting the launcher there you need to register it.
Just run /usr/lib/gnome-panel/gnome-panel-add --panel=top_panel_screen0 --launcher=<full path to your launcher>. You can also add --copy-launcher switch to make the tool copy the launcher to the user's launchers directory for you.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I installed java from a binary package (bin format). Now I want to know how to set environment variables in Linux (Ubuntu).
Nothing happend when I type set path=<location of bin folder>.
Then how to run a .jar app?
for configuration
export JAVA_HOME="jdk/installation/dir"
export PATH=$PATH:$JAVA_HOME"/bin"
For running something.jar
java -jar something.jar
Or you could just install the OpenJDK from the Ubuntu Software Center. Much less of a hassle.
PS: Do you actually want the JDK, or do you just want to run a .jar? (cause that's how I interpret the second part of your question).
Because you will very likely already have a JVM if you're using Ubuntu, you could just type
java -jar /path/to/thejar.jar
Firstly use javac commend in terminal to see whether you have installed sdk properly. If answer is no, define paths. And it would be better if you had explained something about IDE, which IDE you will use.. MAy it be easy
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
All I see when I go to the Eclipse download page is 32bit and 64bit so just for windows. I'm new to Linux and would like to move gradually to it. Will I be able to use Eclipse on it?
Yes.
http://www.eclipse.org/downloads/?osType=linux
You might be accessing from a Windows machine. For Linux download from here
you can install it from wither the package manager on your distro or from the command line using sudo apt-get install eclipse or sudo yum install eclipse, depending on whether your distro uses apt or yum.
There's a dropdown where you can select alternate platforms - http://www.eclipse.org/downloads/?osType=linux when you select Linux from the list.