Tag Info

New answers tagged

0

Does the original 'Minecraft.jar' work correctly ? I'm thinking maybe there is a problem in how ubuntu is handling your .jar files. If thats the problem then read this threadhttp://askubuntu.com/questions/192914/how-run-a-jar-file-with-a-double-click. I have tried two methods to make desktop shortcuts: the right click->make link and right click->copy to. I ...


4

The proper way to use a portable app like this under Ubuntu requires also creating a "*.desktop" file for its executable (which is "Minecraft.jar" in this case), and putting it in one of these folders: /usr/share/applications, /usr/local/share/applications, or /home/jay/.local/share/applications (which looks like the one you would prefer). If you want a ...


1

After reading various tutorials and messing with a bunch of fixes I've found a way that works perfectly. First of all download JDK 8 from Oracle and execute the following lines in the terminal: cd Downloads tar -xvf jdk-8u25-linux-x64.tar.gz rm jdk-8u25-linux-x64.tar.gz sudo mkdir -p /usr/lib/jvm/ sudo mv jdk1.8.0_25 /usr/lib/jvm/ Now download the JDK ...


1

Assuming $JAVA_HOME is set properly. $ find $JAVA_HOME -name *.jar -print | xargs -n1 jar -tf | grep "ArrayList.class" com/sun/istack/internal/FinalArrayList.class com/sun/xml/internal/messaging/saaj/util/FinalArrayList.class com/sun/xml/internal/org/jvnet/mimepull/FinalArrayList.class sun/swing/BakedArrayList.class sun/awt/util/IdentityArrayList.class ...


1

I'm not sure what you use for development, but I'm using IntelliJ IDEA and I never have to care about any import statement. I just start to type ArrL and IDEA will take care of the rest. It will suggest ArrayList<E> for autocompletion and fix the import statement instantly. It just knows what you want to do and you can concentrate on development and ...


0

What you should do next depends on what you want to do. I guess when you want to develop something you surely use a very good java IDE. In this case, the IDE needs to know the place of your SDK so that it can use the compiler and the libraries. In IDEA, you only need to tell where you unpacked the SDK zip and it sets up everything for you. On my machine, I ...


0

The solution of exporting the JAVA_HOME variable doesn't work for me in Ubuntu. I solved it adding the bin directory to the PATH variable. I downloaded the JDK from the Oracle website, and I placed it in this directory: /home/alejandro/software/JAVA-descarga/jdk1.8.0_25 Then you have to add that route to the PATH variable: export ...


1

You can follow @RPI_Awesomeness and create a desktop icon it's easy to access from dash search. If you want to create a bash file then Create a empty document on your desktop and paste the whole command in it. Right click & goto properties make it executable. That's it now double click and select run.


1

Welcome to Ubuntu. I am guessing you're using the latest version of Minecraft launcher(the new Minecraft launcher since Minecraft 1.6) with the title `Minecraft Launcher 1.5.3)right? With the command you state above, it will only start Minecraft launcher with Java 8 instead of Minecraft(the game) with Java 8. If you want to launch Minecraft with Java 8, ...


2

You can create a .desktop file that will do this. Bash file are usually run from the terminal, while .desktop files simply run a command, not necessarily needing a Terminal. As for launching Minecraft, that's simple enough. Run nano ~/.local/share/applications/minecraft.desktop in Terminal Copy/paste this in to the file you just opened: [Desktop Entry] ...


0

Download Go to official java download page, scroll down to the bottom of the page until you see Previous Releases. Click Download Choose Java SE 7 on the next page and you will see web-page where you can choose specific Java version. If you unsure what to choose, choose Development Kit - it will cover all your needs Now you will get this page. And you ...


2

Google Chrome 35 onwards does not support java plugin. If you want to use java on browser either use Mozilla Firefox or downgrade Chrome to 34 version - not recommended(backup your bookmarks and settings).


0

I suspect I know why you are having difficulty installing anything directly from the software center. I can only assume that you are operating from a standard, which is to say, not administrator account. This often happens when someone trusts their relative or friend to install Ubuntu for them, and that other person issues the newbie a ...


0

Here's how I did it: Install java 8 separately, without messing with system java: Download the latest jdk 8 .tar.gz from Oracle. Extract the .tar.gz to /opt/java: $ sudo mkdir -p /opt/java $ sudo tar -C /opt/java -xzf Downloads/jdk-8[tab] Create a link to the java executable: $ sudo ln -s /opt/java/jdk1.8[tab]/bin/java /usr/local/bin/java8 ...


0

Don't do anything: The Linux kernel is using as much memory as possible instead of letting it sit idle doing nothing by allocating free memory to the cache. You can control the cache, but doing so would make your system perform worse as all disk access would actually be disk access instead of cached disk access. (actually you should have moved to a server ...


0

Maybe you should install the certificate of your server locally first? if you are using a self signed you have to configure SSH to accept it Visit https://www.digitalocean.com/community/tutorials/how-to-create-an-ssh-ca-to-validate-hosts-and-clients-with-ubuntu this was suposed to be a comment but i dont have enough rep for it.


0

There is a shell environment variable, JAVA_HOME that can be set to use a java version from a specific directory. It needs to be exported, and should contain the path of the bin subdirectory of the java version. Also, the same directory should be first (or before /usr/bin) in PATH. The variable can be set in a script used to start an individual program. ...


0

I think the best way to do it is to create a context menu entry similar to "Open in Terminal..." for directories in nautilus. I do not know how to map nautilus menu entries to a key (You can activate the entry with multiple keys using the context menu by keyboard, like with Menu). But as you seem to already solved the key mapping part, maybe some hints on ...


0

First, see if java is installed: java -version If not, you should do the following to install the Java runtime environment and development kit: sudo apt-get update sudo apt-get install default-jre default-jdk Then you can navigate to the folder where YOUR_FILE is and compile and run: javac YOUR_FILE java YOUR_FILE


0

FWIW, I've had fewer problems with Oracle/Sun Java than any other version. OpenJDK works most of the time. I've never gotten GNU Java to work. IBM Java seems good, but I don't have much experience with it. WebUpd8te has a PPA that makes installation via apt-get easy. Unless you have a reason to use a different version, such as licensing, I'd go with Oracle ...


1

Ubuntu 13.04 has reached it End of Life(EOL) and its repositories have been moved to an archive server. Use this link to change your sources to the archive server. However, I would advise you to install a supported version, ie Ubuntu 14.04 or 14.10.


0

Getting the jdk from oracle here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html is essentially the same as from elsewhere. Oracle doesn't seem to want you to get the tar.gz of the jdk/jre without first accepting their license agreement. As far as I can tell they have managed to successfully remove the old archives from ...


0

I think I've solved this situation: Based on a comment from steeldriver , I dug into the Software Center and added several "add-ons" to the gcc installation. I suspect that adding either libc6-dev or gcc-multilib was what I needed. On a related note of probable interest to R users who want to install JGR : I had to install at least one of libpng12-dev, ...


1

JabRef is a reference management software that uses BibTeX as its native format. JabRef provides an easy-to-use interface for editing BibTeX files, for importing data from online scientific databases, and for managing and searching BibTeX files. I have no idea why it is writing to file. However, this comamnd: find . -type d -name .svn -prune -o -cmin ...


-1

sudo apt-get install openjdk-7-jre sudo apt-get install openjdk-7-jdk Here More help for installing java in ubuntu


0

headless jre/jdk means "GUI is not needed and will not work". I suspect you want Minecraft to be GUI-based game. Then you need full jre. Frankly "does not work" is not a useful symptom. What makes you believe it doesnt? Maybe you expected something and got something different? It's hard to guess.


0

Setup environment variables. You should Setup Environment Variables for java because all of java based application’s use environment variables to work. Open your .bashrc file and add the below coloured line to end of the file. Make sure you need to mention your path instead of us. Save and exit. This is an example taken from ...


0

Very old stuff, but if some one is lookig for this yet, just install openjdk-7-jre-headless or openjdk-6-jre-headless


0

Looks like Freenet was causing the issue. I removed it, and now everything works fine. Thanks to this thread. Also, the process did not restart once I killed it. So, it did the trick!


0

The recommended way is to use the built-in programs (packages) to install tested verified working programs, using the Software Center, or Synaptic, or apt (apt-get, apt-cache...) in the terminal. To make sure you can install all the programs you want, check the repositories in the Software Sources (somewhere in the dashboard/menus in Ubuntu unity?) to ...


0

You can install OpenJDK 8 with these packages. Simply download them, open them in the Ubuntu Software Center, and click install. https://launchpad.net/ubuntu/+archive/primary/+files/openjdk-8-jre_8u40~b09-1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/openjdk-8-jdk_8u40~b09-1_amd64.deb You can view all available packages on OpenJDK's ...


0

Full Explination how to Install Juno Pulse and connect to remote access: http://computing.vt.edu/kb/entry/3987 Hope this helps!


0

If you installed using a repository, you should be able to just use sudo apt-get update and sudo apt-get upgrade or sudo apt-get install the specific package (it will download the update if there is one in the repository). Otherwise go to the website you found the package from, then download and install it.



Top 50 recent answers are included