Tag Info

New answers tagged

0

If you're talking about the apt package list: sudo apt-get update


0

The fault is with the omegat shell script which tries to find out java version. The script is supposed to start the program only if it finds an openjdk or a sun java implementation on the machine. For this, it tries to look at the path where java is installed using below line: JAVA=$(which java | xargs readlink -f) Then checks whether the "path" contains ...


-1

I have the same problem. I found this: http://markmail.org/message/hvfl2hhhaqjk243q but don't know what to do with it. From the link: The solution is easy: in /usr/bin/omegat, the bash script tests java version and checks if it's openjdk or sun. Replace 'sun' by 'oracle' and it works. The author of the question has Oracle Java, not openjdk-6-jdk or ...


1

Just for the luls: I have found some solid solution called OSGi and one of the popular implementations : Apache Felix But I think sdfsdfsdf's answer would work better for my circumstances.


1

You can use git-fs for updates like some other OSes has. automatic, safe, ... some reference for starting


1

If you do not want to use openjdk, I suggest you remove the openjdk completely. One easy way is to install synaptic which is a nice tool listing all available and installed packages and write in the quick filter openjdk select everything that is installed and remove it. (You have to wait a bit until it is finished indexing. It takes a lot of time only the ...


0

If you are behind a proxy set the https_proxy environmental variable to your custom setting, for example: export https_proxy=http://myproxy.domain.net:8080/ Then run sudo add-apt-repository with the -E flag to pass the environmental variables: sudo -E add-apt-repository ppa:webupd8team/java For some reason add-apt-repository doesn't use the proxy ...


0

As mentioned in the comments, you don't need to install azureus manually. You can install it through the software center, or on the command line using: sudo apt-get install azureus That will take care of any java dependencies or other setup automatically.


0

some windows stuff can be on linux using wine or dosbox, but in general there is no known bat interpreter for linux. There are, however, implementations of various unix shells for windows, there's even a standard toolkit, Windows Services for UNIX (a.k.a. SUA), which include ksh implementation and many other nice goodies, so if you want it OS-transparent, ...


2

The error messages say you need to use a newer version of Java.


0

Minecraft freezes with on my 14.04 box. The error message reports it is a problem with compiz. I am running with the generic video driver because there is no ATI driver fix for my card. It may be worth downloading cssm and see what tweaks can be made to compiz.


0

You seem to use two different java versions for compiling and running the program, like 1.8 and 1.6, with the compiler being much more recent. Could be that the JDK used is in path after a JRE of a different version. Take a look at echo $PATH and type javac type java javac -version java -version For example, if you have the following ...


0

Try This [Desktop Entry] Type=Application Name=Minecraft Exec=java -jar /home/bbnorman/Documents/Files/Minecraft.jar Comment=Runs Minecraft. Icon=/home/bbnorman/Documents/Files/icon.png Hidden=false NoDisplay=false Terminal=false


0

I think your script doesn't have execute permission. chmod +x << your script >>


1

A .desktop launcher file can likely just be (sort of) simplified down to something like the following [Desktop Entry] Type=Application Name=Google Maps Exec=google-chrome --app=https://www.google.co.uk/maps/@52.0547887,-1.3424413,11z Comment=Open Google Maps GenericName=Open Google Maps Icon=/home/wilf/.local/Google-Maps-icon.png Categories=GTK;Utility; ...


2

First I suggest you watch log for your file: Open Terminal auditctl -a exit,always -w /path/to/file and press Enter. sudo nano /var/log/audit/audit.log and press Enter to watch log. Full Freedesktop.org reference: Desktop Entry Specification Freedesktop example [Desktop Entry] Version=1.0 Type=Application Name=Foo Viewer Comment=The ...


0

I guess your java binary is pointing to somewhere other than /etc/alternatives/java. Check the output of: type java Does it say /usr/bin/java? If so, then check if that points correctly to alternatives: ls -l /usr/bin/java should show it pointing to /etc/alternatives/java. Lastly confirm that /etc/alternatives/java itself is pointing to java-7: ls -l ...


0

As per this answer: How to set default Java version? Try providing the explicit path along with update-alternatives --install first, and then run update-alternatives to make your selection: sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/java-7-oracle/jre/bin/java" 1 sudo update-alternatives --config java sudo update-alternatives ...


0

Many answers are now dated. They did not work for my 14.04 Ubuntu install. For my instance of chrome is installed in /opt/google/chrome. So the plugin folder would have to be created in there. Updated instructions can be found at https://www.java.com/en/download/help/enable_browser_ubuntu.xml Create a directory called plugins if you do not have it. ...


0

Minecraft needs the OpenJDK 6 to work because OpenJDK 7 depreciates a lot of it's vital functions, install OpenJDK 6 here


1

According to this link: Shell config files such as ~/.bashrc, ~/.bash_profile, and ~/.bash_login are often suggested for setting environment variables. While this may work on Bash shells for programs started from the shell, variables set in those files are not available by default to programs started from the graphical environment in a desktop ...


1

You should try enabling java in your browser.


0

Just install the 32bit version of OpenJDK / IcedTea That should do the trick, most browsers are still 32bit even when the OS is 64bit However from experience I do know some websites Java Apps are picky and don't like non Sun/Oracle Java Runtimes.


1

By default Ubuntu doesn't even have Java installed, so no system processes that use it too. It's hard to tell what it is with the information you give. It could be part of a package you've installed, or it could be a rogue program. Best thing to do is look at the path of the Java executable. Is there a package name you've installed in the path? Verify if ...


0

To install demo and installer use the below command wget http://www.red5.org/downloads/red5/1_0/red5-1.0.0-RC1.tar.gz tar xvzf red5-*.tar.gz cd red5-* cp -R webapps/root/demos /var/lib/red5/webapps/root/demos cp -R webapps/installer /var/lib/red5/webapps/installer find /var/lib/red5/webapps/ -type d -exec chown _red5 {} \; cd .. rm -rf red5-*


-1

Hi I wrote a little manual howto fix this sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix sudo apt-get update sudo apt-get install openjdk-7-jdk Script to start Intellij Idea only note that need to change IDEA_HOME location for your path of idea #!/bin/sh IDEA_HOME=/opt/idea export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64 export ...


0

Run debuild -S -sa to create the Debian source package. Then submit the .tar.gz file that is created in the parent directory, from running that command.


0

Try JReversePro There are other command line compilers out there too - just Google.


2

Let me rephrase my earlier 'answer' - I don't think I adequately communicated my intent. In my twelve years of Java programming, I've used the java.io.File abstraction dozens of times in web apps and in stand-alone apps, on Linux file systems and on Windows file systems, (and Java works with Linux file systems just fine). In my estimation, the cause of ...


0

For Sun/Oracle java Press ctrl+alt+t to open terminal. Add the webupd8team PPA repository and install Oracle Java 7/8 using the following commands one by one: To install Oracle Java 7: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer To install Oracle Java8: sudo add-apt-repository ...


0

The file you want to install is icedtea-plugin. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below: sudo apt-get install icedtea-plugin


0

For those who live in Syria, Cuba, Libya, Korea or any country where Oracle is banning its services, this is a working way to install Oracle JDK 8. Using a PROXY, go to this link and accept the terms then download the tar.gz suitable to your system (32 or 64 bit). Move that tarball to the Downloads directory in your home folder. run this script as sudo: ...


0

I installed the jdk just fine. Here's what I did. Get the .rpm file from Oracle's website. Open up a terminal and type this command:sudo apt-get install alien Wait for alien to install. Type: sudo alien -i -c <path to the file> Wait for that to finish installing. It will look like it's not doing anything for a while, but it is. Test the installation ...


0

I have seen a lot of people facing similar problem. Topcoder arena just do not launch and shows some java Exception. Here is the list of solution that might help you. Before trying this, I would recommend you to check if you have latest version of java installed. Solution 1: Does not matter if you are using windows, Linux or Mac, goto Terminal/CMD and ...


1

I suggest 2 solutions for you: 1. You follow this tutorial to resolve your problem: http://askubuntu.com/a/142808 OR: 2. Install Install Oracle Java 8 (JDK 8u5 - lastest and stable version) in Ubuntu: Step 1: Install Java 8 (JDK 8) Add the webupd8team java PPA repository in our system and install Oracle java8 using following set of commands: sudo ...


0

Can I associate a file type with NetBeans to be able to open files of that type from File Explorer? http://wiki.netbeans.org/FaqCliOpen Yes, you can. Just pass the name of the file to be opened as the only argument in your command line interface. For example: netbeans MyFile.java The same command can be used to create an association for files of ...


0

As far as I know, League of Legends has no linux version, so I will assume you are using WINE. If you are not, please go onto my next suggestion. However, IF YOU ARE USING WINE, you might want to check out PlayOnLinux. This is a wrapper for people who are less experienced with Linux distributions (like Ubuntu) and it allows for easily managing multiple ...


0

You should NEVER add your environment variables and exports to /etc/profile That file is ONLY for configuring system base files and packages. Instead, create a file called /etc/profile.d/java.sh ...and then add JAVA_HOME=/usr/lib/jvm/java-6-sun export JAVA_HOME to that file. It will be run every time a shell is opened. Many ...


1

The Ubuntu 12.04 repositories contain both version 6 and 7 of the JDK, but by default only version 6 is installed. To update, it is best to use the Synaptic package manager – if you don’t have it, install it with sudo apt-get install synaptic. Note: Ensure that Java 7 packages are selected before deselecting any Java 6 packages – else Synaptic will ...


0

If there is a shell file inside, run that after unzipping, otherwise, see https://help.ubuntu.com/community/CompilingSoftware for compiling the software so long as it is the source code.


0

Uncommenting string in gksu gedit /usr/lib/jvm/java-6-openjdk/jre/lib/swing.properties helped me. Thanks to that answer to another question. :)


1

Edit the /etc/rc.local file by doing: sudo nano /etc/rc.local And in there type java -jar /path/to/your/file.jar Make sure this goes BEFORE the 'exit 0'


1

There is only one way out to this problem and that is to download it manually and install the kepler version manually by following steps go to the downloaded package directory and unpack package cd {directory where your browser downloaded the package to} tar -zxvf eclipse-SDK-3.4.1-linux-gtk.tar.gz && mv eclipse /opt make scirpt nano ...



Top 50 recent answers are included