Tag Info

New answers tagged

0

Did you try to install this package before libqt4-sql-sqlite? It looks like you tried to install it before and it wasn't installed correctly. This doesn't mean that java was not installed try executing java --version on your machine it must work. To delete this problem try running sudo apt-get autoremove this must remove unconfigured and broken packages ...


0

OpenJDK is more Open and thus also better to debug, fix and configure. It tends to be a bit slower though. Incompatibilities should not arise (anymore) - Android itself can be built using the OpenJDK.


0

I think that it depends on what you are going to be doing. There are probably some compatibility issues for random features. I have not ran into any myself but you may be better off using the JDK from Oracle. Webupd8[1] does a great job distributing the JDK via a PPA which makes it pretty easy to install on Ubuntu. ...


1

Add to the /etc/profile file(For system wide change) or to ~/.bash_profile( local user) export CATALINA_HOME=/opt/apache-tomcat-8.0.23


1

update-java-alternatives is actually pretty nice. So, to get it to work with my manual installation: copy jdk1.8.0_45 to /usr/lib/jvm cp .java-1.7.0-openjdk-amd64.jinfo .java-1.8.0-u45-amd64.jinfo ln -s jdk1.8.0_45 java-1.8.0-u45-amd64 Then I used vim for a search / replace: vim .java-1.8.0-u45-amd64.jinfo :%s/java-7-openjdk-amd64/java-1.8.0-u45-amd64 ...


1

The main error here is error in opening zip file. That usually means that you're trying to open a corrupted .zip. Just get another copy of that file (download it again, copy it again from the same source you got it from, …)


1

The Java runtime has no graphical frontend. Show the java version with: java -version or run a jar file (java archive) java -jar <your_jar_file> For OpenJDK7, a desktop file doesn't exist by default. To start a java application (jar), via double-click or context menu in your file manager, you could create a desktop file for OpenJDK7: Create ...


1

If you want to log largest total memory usage for specific process, here's a script that can do that for you: $ cat watch-mem-usage.sh #!/bin/bash #set -x PREVIOUS=0 while true ;do sleep 1 DATA=$(ps -p $(pgrep firefox) -o vsize= ) if [ $PREVIOUS -lt $DATA ]; then ...


0

Using a PPA: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer and then sudo apt-get install oracle-java8-set-default


3

I have a BQ Aquarius E4.5 running Ubuntu 15.04 (r23). It comes with Python 3 (just remember to start "python3" - "python" does not exist and does not symlink to Python 3) so that's a start. I can't see any gcc, cc, or Java on the phone, and no hits on "gcc" or "compiler" or "java" in the Ubuntu Store. If you make the file system read-write you should be ...


0

For some reason there is no desktop file for OpenJDK 7. $ apt-file list openjdk-7-jre | grep desktop openjdk-7-jre: /usr/share/applications/openjdk-7-policytool.desktop $ dpkg --get-selections | grep openjdk-7 openjdk-7-jre:amd64 install Install Java with this commands, in order to get the required entry: sudo add-apt-repository ...


0

See the ~/.java/deployment/security/exception.sites file.


0

It is a permissions error. Open Nautilus and navigate to /home/desktop/Documents/eclipse/ Then right-click and go to properties. Change the permissions to read, write, and execute. That should work.


0

Exit code 143. Game ended with bad state. Are you not getting a crash report from your launcher? If Minecraft opens then closes without warning, but only tells you it ended with a bad state, contact Mojang developers, because the least you should be getting is a crash report. So in the end, there are three possibilities; 1. Your launcher was never updated. ...


0

Found a guide for this here, which does load tests. For normal functional tests, the official documentation is here. A sample command for functional tests goes like: sh /opt/app/home/SOAP-UI/SoapUI-5.0.0/bin/testrunner.sh -a -s"Test_Suite2" -r -f/opt/app/home/SOAP-UI/test-project/reports/ /opt/app/home/SOAP-UI/test-project/test-soapui-project.xml


0

14.04 LTS user here. Got OpenJDK working from desktop with: contents of /usr/share/applications/openjdk-7-java.desktop [Desktop Entry] Name=OpenJDK Java 7 Runtime Comment=OpenJDK Java 7 Runtime Exec=cautious-launcher %f /usr/lib/jvm/java-7-openjdk-amd64/bin/java -jar Terminal=false Type=Application Icon=openjdk-7 ...


0

You can try to install express edition: http://www.varyonic.com/2010/01/installing-oracle-xe-on-ubuntu/#.VYMvB9Slyko


1

Are you running this on a server without x server? The installer tries to initialize a SWT Window for a GUI. Try running the install command with ./runInstaller -mode=console, maybe this will help - some oracle installers have this option, hopefully this one as well.


0

openjdk-7-jdk is a installable package. There is no problem with a parallel installation. sudo apt-get install openjdk-7-jdk And maybe you should install Oracle Java via PPA: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer


0

This is because of Jayatana, which is added to Ubuntu 15.04 inorder to enable global menu for Java swing applications. You can safely remove this message by entering the following command in terminal. This command will remove the configuration of Jayatana. sudo rm /usr/share/upstart/sessions/jayatana.conf However, removing this option will disable the ...


0

At the moment there are only rpm packages for tuxjdk: http://download.opensuse.org/repositories/home:/TheIndifferent:/tuxjdk/ I need little more time to learn about debian packaging and prepare proper packages, plus document some interesting features of version 03 of tuxjdk. So stay tuned, and please report any issues you're facing with tuxjdk to ...


1

The above answer is not sufficient enough you also need to update mime list as open file in editor gedit ~/.local/share/applications/mimeapps.list then replace this application/x-java-archive=file-roller.desktop; to application/x-java-archive=OracleJDK.desktop; This will resolve the problem.


0

Silent install Java 6/7/8/9 using WebUpd8 team's PPA sudo apt-get install -y python-software-properties debconf-utils sudo add-apt-repository -y ppa:webupd8team/java sudo apt-get update echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections sudo apt-get install -y oracle-java8-installer @gertvdijk ...


1

You CAN get Java to work on Chrome, or at least enable the NPAPI plug-in for it... temporarily. The option is being removed altogether in Chrome 45. (Currently we are at 43, estimate is September 2015.) Note that enabling NPAPI doesn't necessarily mean the Java Applet will work... I tried it with one and it didn't. This likely is due to having the latest ...


1

http://blog.chromium.org/2013/09/saying-goodbye-to-our-old-friend-npapi.html April 2014: NPAPI support was removed from Chrome for Linux in release 35.


0

As I have said before: The Debian/Ubuntu packages have been patched with systemd service units, to fill the hole left by the stuff that is published directly from mongodb.org. But there's no shortage of mongodb.service unit files on the WWW. It's not hard to write one, either. (I have.) Specifically: You'll find such a service unit in the mongodb-server ...


1

You need to add the Path=/home/YOURUSERNAME/Desktop to it, that's what made it work for me.


2

It's possible, that MongoDB doesn't start if you use the Trusty packages: Failed to start mongod.service: Unit mongod.service failed to load: No such file or directory. In this case, install the Debian Wheezy packages as described at the end. Install the Trusty DEB packages Download the DEB files cd wget ...


0

Java applications can have their own desktop or launcher icon to start like any other application. To get there we just need to create a minecraft.desktop file in ~/.local/share/applications/ with the following content: [Desktop Entry] Encoding=UTF-8 Value=1.0 Type=Application Name=MineCraft GenericName=Minecraft Comment=Start Minecraft ...


0

I don't know why you tried to click on it, the location of the .jar file should be in the $PATH of minecraft. I don't have any experience mindcrafting, I have alot of experience programming in Java and administering Java dependant applications on Ubuntu; I also set my brother up with Gary's mod on Ubuntu 12.04. So basically here's the diagnostic flowchart ...


1

Running jars in linux is easy. Just open a terminal and type java -jar <path to jarfile> then hit enter and voilà it works.


1

Actually, a better answer is to enter the following at the command prompt. sudo update-ca-certificates -f


2

Your question is not related to apt-get at all. Oracle-java9-installer has an installation script that downloads java from Oracle site and installs it. It is very specific to this package. But your answer is: the tarball is at /var/cache/oracle-jdk9-installer/


1

To make DanielSteward anwser complete: Unfortunately tuxjdk for GTK look and feel uses font set in currently used gtkrc. But most of the themes don't set any font there. As a result netbeans will use bold Arial 15 as UI font. To fix that create gtkrc just for netbeans with fixed font and tell netbeans to use this file. I prepared special launcher that ...


1

The exception occurs when there is no running or listening mysql service: Start the MySQL server Check the port number, you use the standard port 3306 in your code private static final String dbClassName = "jdbc:mysql://127.0.0.1:<your_port_number>/demodb"; Use the IP address of your Virtual Machine private static final String dbClassName = ...


3

This occurs when you open package manager and install from cmd at same time. Try closing all windows and re execute the command.


1

It depends on you, i would suggest not to use any place designated to store system wide binary files. Although you can put it in /usr/local/bin or any other designated place to store system wide binary files but as it is not a regular binary file you better put somewhere else. Your home directory may be a good place too. Actually it does not matter where ...


1

There is no definite location that you 'should' store your executable jars in. It is based solely on user preference. I find that keeping my executable jars on the desktop works best so i don't need to continuously travel through my file system to use them which can sometimes get lost if your memory isn't the best. Also little sidenote, if you install Java ...


1

I used Oracle-java7 when I installed think-or-swim. It still works fine though I've since upgraded to Ubuntu 14.04. I used the instructions here and obtained the installer here. After making the script executable, it installed fine and works fine. There's a full writeup on installing here


0

Sorry , Every one the problem is with development team , no problem with software initalization


0

This is because there is some 32 bit libraries are missing in your Ubuntu 64 bit. Run: apt-get install libc6-i386 you can reference to this for more information


3

Adding a file called /usr/share/applications/java.desktop with following content should do the trick. [Desktop Entry] Name=Java Comment=Java GenericName=Java Keywords=java Exec=java -jar %f Terminal=false X-MultipleArgs=false Type=Application MimeType=application/x-java-archive StartupNotify=true After adding this file you should be able to find an entry ...


1

You can play RuneScape locally without Wine using the RuneScape Unix Client (RSU Client). Installation instructions for all currently supported versions of Ubuntu: sudo add-apt-repository ppa:hikariknight/unix-runescape-client sudo apt-get update sudo apt-get install unix-runescape-client You can use different java versions by editing the ...


0

After posting earlier I decided to download the latest available Oracle JDK 8u45 and the latest community version of Intelli-J Idea 14 ideaIC-14.1.3.tar.gz jdk-8u45-linux-x64.tar.gz I ran this script from command line as root to install Oracle JDK, the script assumes you downloaded the jdk-8u45-linux-x64.tar.gz to the Downloads directory and you ...


0

Do you have a JVM installed? You can check it by typing this command at command line: :~$ java -version If it says the java command is not found, you don't have a jvm. If not install the latest Oracle JDK from this link: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html I created directory for go-ide in /usr/local, ...


-1

Under ubuntu 14.04: to install freemind and work (tested) install java openjdk 7 sudo apt-get install openjdk-7-jre sudo apt-get install freemind If you do not install the java openjdk the defauft java-oracle will not be found and you will get this $ freemind [warning] /usr/bin/freemind: No java runtime was found [error] /usr/bin/freemind: ...


0

None of that can be installed directly by the package manager and the absence of libraries has nothing to do with Netbeans. The error messages are from the Java compiler. Simply add the libraries to your Java project via project properties. AWT and Swing are part of the Java JDK/JRE. Additionally libraries, normally JAR files, you need to download at the ...


0

ALT+TAB, then keep TABbing until you find the application you want. ALT-SPACE to open its menu (even if you can't see it) Press 'M' to select “Move”, then use the mouse or arrow keys to bring window into view. source


2

You have to allow Java applets in your browser. Install the Java Plugin sudo apt-get install icedtea-plugin Click the menu button, choose Add-ons. In the Add-ons Manager tab, select the Plugins panel. Activate, if necessary, the Java Plugin Start a test If the plugin doesn't work correctly, than follow the next steps. Install the Oracle Java (with the ...



Top 50 recent answers are included