Tag Info

Hot answers tagged

6

Cron runs in an environment that knows nothing about the display manager ($DISPLAY isn't set). Your terminal window that you've been testing in has this set for it. If you tried it in a "real" terminal, or over SSH, you'd see it break. If you've only got one X server running, just specifying the display might work: * * * * * DISPLAY=:0 firefox ... You ...


1

It looks like you don't have the required browser plugin installed. The following commands will install version 7 instead of version 6 because it is more secure. If version 6 is required, just substitute the command accordingly. First, open a terminal and typing the following commands: sudo apt-get update sudo apt-get install icedtea-plugin ...


1

To set JAVA_HOME for all users do as Follows: sudo gedit /etc/environment JAVA_HOME =":usr/lib/jvm/java-7-openjdk-amd64/bin" CLASSPATH =":usr/lib/jvm/java-7-openjdk-amd64/bin:/home/something etc whatever you want etc"( separated by semicolon )


1

Most likely the exact 1.7.17 version is different now and the jdk1.7.0_17 does not exists, so use the interactive command to change the java or javaws alternative. $ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ...


1

You can convert a .jar file to an .exe file in Ubuntu using Launch4j Executable Wrapper. Launch4j is a cross-platform Java executable wrapper for creating lightweight Windows native EXEs. Launch4j provides advanced JRE search, application startup configuration and better user experience. The latest version of Launch4j as of the date of posting this answer is ...


1

I got the same error when trying to run the android-studio beta installation. I tried various options, but the one that worked for me was: sudo apt-get install openjdk-7-jdk Didn't have to do anything else. But, I am surprised that java -version listed the same 3 lines before and after the jdk install: java version "1.7.0_55" OpenJDK Runtime ...


1

Use ppa : sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer if you want java8 : sudo apt-get install oracle-java8-installer If you ABSOLUTELY need to have the latest update of java you must manualy install from official source, follow this tuto : ...


1

It wasn't a source package, it worked by converting the rpm to a deb installer


1

There are nicer ways for sure; a simple approach however would be starting your application from terminal. There you see the output even after it has crashed.



Only top voted, non community-wiki answers of a minimum length are eligible