Questions tagged [java]
Java is a programming language originally developed by Sun Microsystems. Questions here should be about the installation, configuration and troubleshooting a JVM (Java Virtual Machine) or a JRE (Java Runtime Environment). Programming questions (unless directly related to Ubuntu) should be asked on StackOverflow.com.
382
questions
4
votes
0
answers
4k
views
Installing 32 bit java now that ia32-sun-java6-bin is not available [duplicate]
Possible Duplicate:
How can I install Sun/Oracle's proprietary Java 6/7 JRE or JDK?
Prior to 11.10, I could install a 32 bit java side by side with the 64 bit versions using the package ia32-...
4
votes
3
answers
51k
views
How to set JAVA PATH in Ubuntu 12.04?
So java -version give path not found. I have tried the following:
Edit:
~/.bashrc
~/.profile
/etc/environment
bash.bashrc files and add to them the following:
JAVA_HOME=/usr/lib/jvm/jdk1.7....
4
votes
1
answer
11k
views
Desktop link to Eclipse
I was tring to install eclipse on ubuntu. What I did: I unzipped the tar archive of eclipse. I tried to start eclipse from the command line - like this - ./eclipse. It works. But then I tried to ...
4
votes
2
answers
4k
views
Eclipse auto shutdowns when creating new project
When I click finish on a new project in Eclipse which I installed with this command sudo apt-get install eclipse-platform. This popup window comes and no matter if I choose Yes or No it closes the ...
4
votes
1
answer
25k
views
How do I use apt to install 32-bit OpenJDK-7-JRE on Azure AMD64 Ubuntu Server 14.04 LTS (Trusty)?
Ubuntu Server 14.04 LTS for Azure does not come with Java pre-installed.
The server architecture is AMD64.
I know that you cannot install both the x64 and x86 JREs side-by-side, and I only need the ...
4
votes
2
answers
35k
views
How to install an older version of Java
I updated my installation of the sun-java6-jdk package today to version 6.24-1build0.10.10.1 after being prompted by the update manager. However this now causes some compilation failures so I'd like ...
4
votes
1
answer
3k
views
How to install libavcodec53 and libavformat53 so that I can use JavaFx in Ubuntu 16.04
I want to use JavaFX in Ubuntu. According to this link, I have to install libavcodec53 and libavformat53. I googled and came across sites like this, which suggests to use
sudo apt-get update
sudo apt-...
4
votes
3
answers
2k
views
Getting the PID of the process showing a particular window
I want to know the process ID of a particular window. I have seen and used the Force close panel applet, and I'd like something similar that would report me the process ID of the window I select.
If ...
4
votes
2
answers
22k
views
update-alternatives: error: no alternatives for
I tried to follow the excellent answer to the question How to correctly remove OpenJDK and JRE and set the system use only and only Sun JDK and JRE?, but there seem to be some side effects:
root@...
4
votes
1
answer
9k
views
Good way to run Java and Eclipse from a ramdisk
It is often suggested to me that to improve the performance of the Eclipse development environment, that I should move the Java JDK/JVM (and possibly Eclipse) to a Ramdisk.
I know that the Ubuntu has ...
4
votes
1
answer
34k
views
How to install Jad?
I'm very new to Ubuntu. I need a way to install Jad in my system.
Can anyone help me this out?
4
votes
1
answer
3k
views
Can't install Java 8 in Xubuntu 18.04
I can't install Java 8 in Xubuntu 18.04/
sudo apt-get install oracle-java8-installer
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information....
3
votes
2
answers
11k
views
Problems installing Java 8 onto Ubuntu 18.04 - Errors on oracle-java8-installer and java-common
As you can see in the screenshot, i was told to apt-get install oracle-java8-install but it gave me an error that I don't have met dependencies of java-common. Okay, great. Now I try to install apt-...
3
votes
1
answer
19k
views
sun-java6-plugin has no installation candidate? [duplicate]
Possible Duplicate:
How do I install Java?
I'm trying to install sun-java6-plugin. It supposedly in the "partner" repo.
I have:
deb http://archive.canonical.com/ lucid partner
in /etc/apt/...
3
votes
2
answers
4k
views
Java Runtime Kubuntu 18.04 LTS to get Blu-Ray Menu in VLC
as you might have guessed from the topic, I am searching for a way to get Blu-Ray Menus working in VLC. I am running on Kubuntu 18.04 LTS 64bit. In order to play Blu-Ray discs I installed MakeMKV and ...
3
votes
3
answers
31k
views
not able to install javaws
I need to use java web start to run TopCoders ContestAppletProd.jnlp.
When I try to run the the arena I get Java not found error.
Upon selecting the option "using Java Web Start" the jnlp file ...
3
votes
4
answers
48k
views
Installing Java on Ubuntu 64 bit
I have ubuntu 12.04 LTS version 64 bit . what is the procedure for installing and running Java for development purpose. I am new to Linux and Unix platform. Thanks in advance
3
votes
1
answer
2k
views
Recompiling Android RunTime
According to following image, ART is very similar to JVM.
As JVM is for Linux which converts Java instruction set to machine level instruction set. Then is there any way to recompile ART for linux ...
3
votes
1
answer
11k
views
Remove annoying environment variable JAVA_TOOL_OPTIONS
Each time I run java or javac on terminal I get this annoying message
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
I looked up very location I know to find out where ...
3
votes
1
answer
10k
views
Can I run a Java 32-bit application on a 64bit system
Natty 64-bit is installed. iMindmap 5 a Java 32 program will not run correctly.
Is installing 32-bit Java a possible solution?
3
votes
1
answer
16k
views
Ubuntu 20.04 - MySQL JDBC driver
Is there a way to install MySQL JDBC driver from Ubuntu 20.04 repository?
It looks from other questions (askubuntu, stackoverflow) that it was contained in libmysql-java (which is no longer there), ...
3
votes
3
answers
2k
views
How can I write Ubuntu apps in Java? [closed]
I am new to linux.
I want to develop apps for Ubuntu desktop and mobile using Java.
3
votes
1
answer
15k
views
Javafx is not on the default classpath even with Oracle JDK 1.8
I recently installed Oracle JDK 1.8 on my Kubuntu Linux machine following this guide. I did the manual install because I couldn't get the easy one to work.
If I've understood correctly, javafx should ...
3
votes
1
answer
5k
views
Maven: JAVA_HOME is not defined correctly
I've installed and configured Maven and Java. I can successfully run
mvn spring-boot:run
But when I run
sudo mvn spring-boot:run
I am getting Maven: JAVA_HOME is not defined correctly
When I do
$...
3
votes
1
answer
14k
views
Cannot Update Java plugin for Google Chrome
I keep getting the "Java plugin out of date" box whenever I open a page with embedded Java. I use the link provided, which has no auto-install. I've unzipped the tarball into /usr/lib/jvm/. I've used ...
3
votes
1
answer
30k
views
Installing Java Offline
I understand that this question has been asked exhaustively and do not mind if it is marked as a duplicate, but I am having a little trouble setting Java up. When I follow this post, number six says ...
3
votes
0
answers
623
views
Unable to start topcoder arena in Ubuntu 14.04
When I want to clear cache using javaws - viewer these error comes. I am trying to launch my topcoder arena.
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Exception in ...
3
votes
1
answer
3k
views
Set different java version for different programs
I use some programs that have known bugs when using Java 1.7.x (default on my computer), issues that would be fixed using Java 1.6. However I also use program that works fine with the default Java and ...
3
votes
0
answers
682
views
How to use Firefox AppArmor profile with IcedTea Java plugin on Ubuntu 14.04?
Whenever I set up Ubuntu on a new system, I active the default AppArmor profile for Firefox via
sudo aa-enforce /etc/apparmor.d/usr.bin.firefox
Doing this on Ubuntu 14.04, however, makes Java ...
3
votes
2
answers
3k
views
How to handle SWT applications in 16.04
It seems that SWT (eclipse based) applications in Xenial (16.04) are mostly broken with default-jdk (ie openjdk 8). This includes Eclipse IDE, Gantproject, etc...
They either won't load, or won't ...
3
votes
1
answer
942
views
Is it possible to develop Ubuntu Application using java
I am a Java Developer & want to develop application for Ubuntu.
I also visited developer.ubuntu.com site and successfully installed Ubuntu SDK and Editor but it is on Unity code and HTML views. I ...
3
votes
1
answer
368
views
Wine issues with Runescape
Believe it or not, I play Runescape. I find the game to be interesting.
Out of my curiosity, I found that there is a way to play the game in an executable file. However, there was no Linux download ...
3
votes
2
answers
15k
views
Unable to install java 8 on Ubuntu 14.04 32 bit
I used the following code to install openjdk 7 and to add repository,
sudo apt-get install openjdk-7-jdk
sudo apt-add-repository ppa:webupd8team/java
Then I have updated the packages using sudo apt-...
3
votes
1
answer
553
views
Where is my application installed? [duplicate]
I am getting errors like com.ibm.icu etc are missing from /home/jiewmeng/eclipse/plugins/*. I think it might be because I am working on the project from 2 different computers where the eclipse paths ...
2
votes
1
answer
2k
views
java crashed with SIGABRT in WTFCrash()
on a newly installed Ubuntu 16.04, I was receiving Ubuntu 16.04 has experienced an internal error. there is a bug issue reported about OpenJDK with this error, therefore I completely removed Java ...
2
votes
1
answer
1k
views
Install Java version 8 on Ubuntu 16.04
I'm on Ubuntu 16.04 and need to install java version 8 (or 9).
I did: sudo apt-get install openjdk-8-jdk
But when I check current version using java -version, the result is:
openjdk version "1.8....
2
votes
1
answer
401
views
Installing Hadoop in Ubuntu 16.04
I am pretty new to Ubuntu/linux and totally new to Hadoop.
I'm following the guide here:
https://www.digitalocean.com/community/tutorials/how-to-install-hadoop-in-stand-alone-mode-on-ubuntu-16-04
I ...
2
votes
3
answers
6k
views
No Java virtual machine was found when trying to run Eclipse installer
Trying to install Eclipse on fresh Ubuntu. Got error:
If I type java command I have output:
Can I install default OpenJDK or should I go to Oracle site and download Java there?
Why I can't use ...
2
votes
1
answer
3k
views
Recent upgrade of openjfx broke my installed application
Today I ran apt upgrade on my Ubuntu 18.04 LTS and after that, an installed JavaFX 8 application (internally developed tool) stopped working.
Running the application only brings the following error:
...
2
votes
0
answers
6k
views
Oracle Java 9 installer fails in Ubuntu 16.04 [closed]
I'm new to Ubuntu
I tried this:
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java9-installer
but it failed:
download failed
Oracle JDK 9 is NOT ...
2
votes
2
answers
1k
views
Is it necessary fix eclipse.desktop to use Eclipse launcher in Ubuntu 16.04?
I've been trying to use Eclipse in Ubuntu 16.04. I have read that, in order for Eclipse to work properly, it requires the following code to be inserted in eclipse.ini:
--launcher.GTK_version
2
It ...
2
votes
2
answers
687
views
search command for packages in Ubuntu terminal to search updates and patches of the package specifically
Can I know what is the command to search any package using the terminal, if I only know the name of the Software like, if I want to search VLC or JDK,JRE.. etc
If I do not know what is the url where ...
2
votes
1
answer
899
views
Oracle Java JDK Installation
I installed both Android Studio and the lates version of Oracles Java JDK 8.
When I type: java -version, it seems like I have installed java correctly:
java version "1.8.0_91"
Java(TM) SE Runtime ...
2
votes
1
answer
26k
views
How to remove OpenJDK-9 and all related file to JDK
I know there are many similar post on here regarding issue i am having and trust me I have tried most of them and did not solve my issue.
I am trying to uninstall all the JDK files installed in my ...
2
votes
1
answer
4k
views
Setting JAVA_HOME
How do I set JAVA_HOME=/usr/lib/jvm ...E ? The instructions say to use
INSTALL4J JAVA_HOME=/usr/lib/jvm/java-6-sun
but I get an error that says:
INSTALL4J: command not found
I have downloaded ...
2
votes
1
answer
4k
views
How to configure environment variables in Ubuntu? [duplicate]
My environment variables are correct? What is the correct way to use them in Ubuntu? I put them at the end of .bashrc file or edit the end of /etc/environment to able to use the $JAVA_HOME and $...
2
votes
1
answer
11k
views
How do I get ORACLE JAVA SE 7 to work?
I am a newbie to Ubuntu, so kindly be considerate.
I recently manually downloaded & installed (Java SE 7ux) JavaSE 1.7.0_51.
Linux x64 (for 64-bit system) "tar.gz" package.
My Ubuntu version is ...
2
votes
2
answers
30k
views
Eclipse can't find JDK 7
I've got Oracle JDK 7 installed javac -version yields
javac 1.7.0
and the JRE is installed and enabled in Eclipse > Preferences > Installed JREs (As location: /usr/lib/jvm/jdk1.7.0)
But trying to ...
2
votes
4
answers
3k
views
Eclipse Error on Ubuntu 13.10
I have successfully installed Oracle Java 64 bit version on my machine (checked with java -version).
Later I have downloaded Eclipse Kepler 64 bit but when I start it, it does not work and it is ...
2
votes
1
answer
3k
views
Java applets crashing in 14.04 and 14.10
PhET simulations (java applets) crash in 14.04 (and in 14.10 [update]) after execution. Icedtea starts loading the app and gets to 100%. Then it crashes. I get an error message to use the console to ...