How To Install Openjdk Or Oracle Java On Debian 8 Jessie To Run Eclipse?

how to install openjdk or oracle java on debian 8 jessie to run eclipse?


Similar Content



Kdenlive In Debian 8 Not Installing?

I previously installed kdenlive in previous Debian versions with the suggested command:

apt-get install kdenlive frei0r-plugins dvgrab recordmydesktop dvdauthor genisoimage

but it gives error messages in debian 8 saying packages not available

maybe my sources.list is wrong?

# deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-1 20150425-12:54]/ jessie contrib main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

deb-src http://ftp.fr.debian.org/debian/ jessie-updates main contrib non-free
deb http://ftp.fr.debian.org/debian/ jessie-updates main contrib non-free

deb http://www.debian-multimedia.org jessie main

# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ jessie-updates main contrib
# deb-src http://ftp.debian.org/debian/ jessie-updates main contrib

What should I do?

On Linux , Running Eclipse Crash My Program.

Hello,
I have a program running on my Linux server , working fine ,
but when I launch Eclipse by typing :eclipse & , memory crash happened , in other word ,core dump on my program.

if I launch Eclipse using other way, java -jar /usr/lib64/eclipse/plugins/org.eclipse.equinox,launcher_1.1.0.v20100507.jar -clean -showSplash my_code_folder -vmargs -Xms384m -Xmx1024m &
my code and eclipse work fine .

I am new with Eclipse, anybody has any idea about this?

Thanks in advance.

Ray

Wifi Working In Wheezy But Not Jessie

I just installed on my Sony Vaio "Jessie" and my wifi doesn't work.
When I was using "wheezy" after installation I did the following:

add line to Sources.list:
deb http://http/debian.net/debian/ wheezy main contrib non-free

do followwing commands:
# apt-get update && apt-get install firmware-iwlwifi
# modprobe -r iwl4965
# modprobe iwl4965
# aptitude update
# aptitude install plasma-widget-networkmanagement

I tried to do the same in "Jessie"

add line to Sources.list:
deb http://http/debian.net/debian/ jessie main contrib non-free

but it didn't work. Any ideas?

Compiling Multiple Java File Using Terminal.

I am new in java. I executed a java program using eclipse. the program contain two java file. when i try to run it using terminal in Ubuntu.
two files are not linking. it shows error. i am attaching all the data.

It shows the following error
Code:
regex2string.java:83: error: cannot find symbol
	                    str = randomstr.nextString(2000);
	                          ^
  symbol:   variable randomstr
  location: class regex2string
1 error
Exception in thread "main" java.lang.NoClassDefFoundError: regex2string
Caused by: java.lang.ClassNotFoundException: regex2string
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: regex2string. Program will exit.

Gnome And Xfce On Debian Jessie Install?

I am just getting ready to try installing Jessie on my old-ish Gateway lappy, NV 59 with Intel 2 core, 4 gig, 500 gig.

Can I install it with both Gnome and Xfce and pick one on log in?

Or does it have to be one or the other?

Thanks,
JP.

What's Wrong With My /etc/apt/sources.list - Jessie.

Hi all,
This is my /etc/apt/sources.list of jessie, what's wrong as I am getting the following error output .

error :-

Code:
Err http://http.debian.net jesssie/main Sources
  404  Not Found [IP: 54.192.190.154 80]
Err http://http.debian.net jesssie/contrib Sources
  404  Not Found [IP: 54.192.190.154 80]
Err http://http.debian.net jesssie/non-free Sources                                                                                            
  404  Not Found [IP: 54.192.190.154 80]
Fetched 7,819 B in 25s (307 B/s)                                                                                                               
W: The repository 'http://http.debian.net jesssie Release' does not have a Release file. This is deprecated, please contact the owner of the repository.
W: Failed to fetch http://http.debian.net/debian/dists/jesssie/main/source/Sources  404  Not Found [IP: 54.192.190.154 80]

W: Failed to fetch http://http.debian.net/debian/dists/jesssie/contrib/source/Sources  404  Not Found [IP: 54.192.190.154 80]

W: Failed to fetch http://http.debian.net/debian/dists/jesssie/non-free/source/Sources  404  Not Found [IP: 54.192.190.154 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

This is my /etc/apt/sources.list :-

Code:
[$] cat /etc/apt/sources.list                                                                                                       [2:23:45]
#### testing  #########
deb http://http.debian.net/debian jessie main contrib non-free
deb-src http://http.debian.net/debian jesssie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# testing-updates, previously known as 'volatile'
#deb http://http.debian.net/debian jessie-updates main contrib non-free
#deb-src http://http.debian.net/debian jessie-updates main contrib non-free

Now I am guessing one or more of the entries above are wrong, as probably all of testing-updates would probably come into play once jessie is released, right ?

This was generated via http://debgen.simplylinux.ch/ for lack of better places to generate sources.list from.

HowTo: Compile/Install Linux Kernel 3.19 On Debian Jessie

Would anyone be willing to share their knowledge on: How to compile and install Linux Kernel 3.19 in Debian jessie?

So the new kernel is out and I've been patiently waiting for its release for the support of Microsoft Surface peripherals. I recently switched over to Debian because I'm not fond of some of the moves Ubuntu is making. So thats the short story, and fundamentally unimportant to the question.

Considering my lack of experience with Linux, or should I say others extensive experience, please be as detailed as you care to be. I did end up finding instructions containing 4 or so lines with 3 or so words in each line, buried in some website, but the information wasn't sufficient for me to follow. Needless to say those instructions were for someone who didn't need the specific terminal commands which I certainly do.

amd64

Thank You.

Problem Installing/running Eclipse Luna On Mint17.1 LXDE

I've downloaded the latest eclipse (.tar.gz) and unpacked it to /usr/bin and created a launcher for it, but it doesn't launch.
I also created a shell script on the desktop called eclipse.sh, content :
cd /usr/bin/eclipse
./eclipse

and did a chmod 755 /Desktop/eclipse.sh in a terminal as root.
I did a chmod 775 on the eclipse executable as well, but it still won't launch

NB I followed the same procedure with Bluegriffon and that runs OK.

I bet I'm missing something obvious, but just can't think what.

Box is AMD Phenom ll x4 / 8GB DDR3 running Mint 17.1 LXDE.

Java Installation

hello everyone
I'm new with Linux,,I tried to install java by using the instructions in the link below

https://www.youtube.com/watch?v=ohmZu3U9DYk

the only problem appeared in the last step "java -version" is:



neaam@neaam-desktop:~$ java -version
bash: /usr/bin/java: cannot execute binary file

can anyone help me?

Growing List Of Packages Being Held: Libcurl3-gnutls IS Librtmp1 The Problem?

Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
Release: 7.8
Codename: wheezy


sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
chromium dnsmasq-base icedtea-7-jre-jamvm iceweasel libcurl3 libcurl3-gnutls libxml-libxml-perl ntfs-3g openjdk-7-jre openjdk-7-jre-headless
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.


When I try to install libcurl3-gnutls I get:

sudo apt-get install libcurl3-gnutls
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libcurl3-gnutls : Depends: libgnutls-deb0-28 (>= 3.3.0) but it is not installable
Depends: librtmp1 (>= 2.4+20131018.git79459a2-3~) but it is not installable
E: Unable to correct problems, you have held broken packages.


This is my sources:
/etc/apt/sources.list


deb http://ftp.uk.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.uk.debian.org/debian/ wheezy main non-free contrib

deb http://security.debian.org/ wheezy/updates main non-free contrib
deb-src http://security.debian.org/ wheezy/updates main non-free contrib

deb http://ftp.uk.debian.org/debian/ wheezy-updates main non-free contrib
deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main non-free contrib