Install jdk in linux [closed] - linux

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

Related

Nodejs usage using the source code [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have downloaded the node js source code. I don't have permission to install .msi or .exe veriosn here.
So how to use the node js
Please help.
You have to compile it first.
on windows, you need Visual Studio 2010 or 2012 (Express is the free version) installed, as well as python 2.7.x.
Go into the node source directory and run vcbuild.bat nosign release x64 for 64 bit and vcbuild.bat nosign release for 32 bit.
Source: Wiki on the Node.js GitHub

need assisstance to set python2.7 as default & Django to install [closed]

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 am not able to install Django.I am using CentOS 5,not able to set python2.7 environment variable.Priviously in my system python2.4.3 is available,but after installing python 2.7 in the terminal i checked the version avail in system using "python -V"cmd it executed as python 2.4.3.But if i checked using "python2.7 -V"cmd it is showing python2.7.Please help me with this.....
1.I need to set python2.7 as default version.
2.Help me with the installation of Django.
Your CentOS relies on python 2.4 so that's not going to work. You should probably create a new system user and install pyton 2.7 in its home directory (or use your root user and install python in /opt for global usage), you can find plenty of tutorials on Google.
After succesfully doing so, you can set an alias in your user's bash profile to define which python version to use. It's also common practice to create a virtualenv for each project and/or user.

Installing OpenCL on linux without root rights [closed]

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 want to use OpenCL on a linux machine, where I have only users rights. I have found only .rpm file, which is not the option until I don't get root's privileges.
Can I do some other way? Can I download the source some where?
You can install into your own home directory by setting the install path. These links may help you. And that was a nice question.
http://leenissen.dk/fann/forum/viewtopic.php?f=1&t=606
https://serverfault.com/questions/11270/installing-software-on-linux-without-root-privileges
On CentOS\RHEL You could use:
yum install packageName --installroot=[path]
This should work also without root permissions.

Is Eclipse available for any Linux distro [closed]

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.

installing Eclipse on ubuntu [closed]

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).

Resources