New answers tagged

0

It seems I inadvertently solved my own problem by making a hard copy of the plugin--which deleted the reference to the old one in pluginreg.dat. On an impulse, I went back and deleted the copy and reinstated the symlink and voila it now works. This is all voodoo as far as I'm concerned and I still think there's a bug in how firefox is detecting and doing ...


5

Replace command: java -jar $SNAP/jar/wallpaperdownloader.jar with run.sh. Here is run.sh: #!/bin/sh # Not good, needed for fontconfig export XDG_DATA_HOME=$SNAP/usr/share # Font Config export FONTCONFIG_PATH=$SNAP/etc/fonts/config.d export FONTCONFIG_FILE=$SNAP/etc/fonts/fonts.conf export HOME=$SNAP_USER_DATA java -jar -Duser.home=$SNAP_USER_DATA $SNAP/...


0

I use the same versions. ricard@cruz-xxxxxx:~/.mozilla/plugins$ ls -liah 12583228 lrwxrwxrwx 1 ricard ricard 43 jun 27 10:43 libnpjp2.so -> /usr/java/jre1.8.0_91/lib/amd64/libnpjp2.so ricard@cruz-xxxxxx:~/.mozilla/plugins$ java -version java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (...


0

If you run Arduino IDE on Ubuntu (Arduino 1.5.7 and Ubuntu 14.04 in my case), most possibly you cannot upload to Arduino board, caused by the error of: avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied ioctl("TIOCMGET"): Inappropriate ioctl for device To fix it, enter the command: $ sudo usermod -a -G dialout <username> $ ...


0

On Linux Mint 18 of the Ubuntu family with openjdk version "1.8.0_91" installed, I installed SAP GUI for Java 7.40 rev 7. I ran into the same error when I tried to start the SAP gui. I simply looked for javafx in the software center and installed Javafx/openjfx 8 - rich client application platform for java. Now it runs like a charm.


0

In fact jar is not an application. It can be treated like pdf or docx or smth like that. In detail, jar is just a set of compiled java classes and some meta information packed into zip archive with jar extension. Can't say if there is any native way, but try to create a shell script launcher, I guess it should be treated as "normal" executable.


0

Instead of add-apt-repository which you need python-software-properties package for, try the built in apt-add-repository. Works in Precise, Trusy and Xenial right out of the box. See manpage for details. Note both commands look the same, but look at the order of the apt. The built in one starts with apt, where as the other one starts with add.


3

You seem to be using a development version of java : Java 9 has not been released yet. So, first of all, you should remove this version of java, and install the default one : sudo apt-get remove openjdk-9-* sudo apt-get install default-jre Depending on your version of Ubuntu, it should be a version 7 or 8. If you're on a development version of Ubuntu, ...


4

The mistake is that you used instructions on how to install java on Debian. Not Ubuntu. As root, go to this folder: /etc/apt/sources.list.d Locate this file: webupd8team-java.list and delete it. Execute sudo apt-get update for the system to remove any reference to that update server. Execute add-apt-repository ppa:webupd8team/java to add the correct ppa ...


1

For reference for anyone else having this issue, go to edit profile. In the executable box, put the path to java. (For me, it was /usr/lib/jvm/java-8-openjdk-amd64/bin/java check which version you're using) In JVM arguments, I had -Xmx2560M -Xms512M.


2

Click in Ubuntu icon (the first bottom in side menu). Write gedit Open Text Editor clicking in its icon. Click in Open. In the list, write: ~/.bashrc Enter Clean your failing .bashrc file. Save and you can open terminal again.


0

Pydev 5.0 requires Java 8 as mentioned on their home page. Version 4.5.5 is the last release to support Java 7.


0

Fixed,I downgraded openjdk from 9 to 8


1

I see the problem you dont have libXext.so.6 so try reinstalling it with this command sudo apt install --reinstall libxext6 Or if that doesn't work: sudo apt remove libxext sudo apt install libxext If even that doesn't work: sudo apt purge libxext sudo apt install libxext This should work :)


0

It looks like libawt_xawt.so requires libXext.so.6 but can't find it. To fix it, try: sudo apt install --reinstall libxext6 Source: http://packages.ubuntu.com/search?searchon=contents&keywords=libXext.so.6&mode=filename&suite=raring&arch=any


0

I had the same issue. In the new eclipse installer click the top right icon for settings and uncheck the bundle pool checkbox. It should work.


2

Add the webupd8 team java ppa to your system using sudo add-apt-repository ppa:webupd8team/java Type sudo apt-get update and install both oracle-java8-installer and oracle-java8-set-default. This will install the complete Oracle JDK on your system, including the java plugin for Firefox and all NPAPI compatible browsers. This means that all PPAPI only ...


0

For TopCoder (and this may work for other sites too), for the current version of Java from Oracle (Java 8 update 91 while posting), you may NOT be able to launch the arena by simply running the command javaws ContestAppletProd.jnlp because of some newly added security restrictions in Java. In order to be able to launch TopCoder arena, I had to perform the ...


2

According to the instructions, the Java version required for Android SDK and Android Studio, is 1.8. You need to install that one.


2

I'd recommend to install Oracle JDK 8. sudo apt-add-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer


0

Go to the download page Download the rpm alien it alien jdk-7u80-linux-x64.rpm install it dpkg -i jdk_1.7.080-1_amd64.deb


1

[Sloved] Actually it is code problem. After drawing I wrote Toolkit.getDefaultToolkit().sync(); and it works perfectly. I don't know why my code worked good on windows without Toolkit.getDefaultToolkit().sync();.


0

Updating the Java Plugin within Firefox itself doesn't work in Linux, you have to downlad the latest Oracle JDK or JRE and link to the new Plugin as described below. Close Firefox and open the Terminal: cd .mozilla/plugins sudo rm -rf libnpjp2.so ln -s /path-to-jdk-or-jre-firefox-plugin/libnpjp2.so . Replace 'path-to-jdk-or-jre-firefox-plugin' with ...


0

Try sudo top in a terminal. Then hit > or < until the Mem column is highlighted. The processes are then sorted by memory usage. Also, hit c to show the full command-line arguments of the processes. You won't see root's applications in gnome-system-monitor. Most-likely, the other 3Gigs are used by root either for lightdm or another process - background ...


6

You have it removed. Bash is just telling you, hey, if you want to run java, here are the packages you can install. Try running which java. If no output, then you don't have any JDK installed. You can install any one of the packages suggested.


1

Anytime you have a .jar with JDK present in your system, you can run it as java -jar <jarfile>.jar. This is independent of the OS you are using.


0

This may be because you are using an x64 system. If you are, install the 32 bit libs with: sudo apt-get install lib32z1 Then try to run the self extraction file again. Hope that helps.


0

You can fix the broken dependencies by executing : sudo apt-get install --fix-broken -f, --fix-broken Fix; attempt to correct a system with broken dependencies in place. This option, when used with install/remove, can omit any packages to permit APT to deduce a likely solution. If packages are specified, these ...


0

I ran sudo apt-get install --fix-broken then I was able to download it correctly


0

Add your user to dialout group as this group has permission to read/write serial devices tty* or serial*. sudo usermod -a -G dialout $USER Reference: How do i allow non-root access to /ttyUSB0 on 12.04? If it has parallel port interface lp* (as the current case with DigiPOS 920) add your user to lp group. sudo usermod -a -G lp $USER Logout/Login ...


0

It worked for me after I used sudo apt-get dist-upgrade. Then I installed openjdk as seen in the link Ubuntu 16.04 and openjdk 7


0

I had a similar problem and I performed: sudo apt-get install oracle-java8-set-default Hope it helps!


0

Test edit the "netbeans.conf" file located in the "etc" directory where you installed Netbeans and change the parameter "netbeans_jdkhome". Previous: netbeans_jdkhome="/usr" Now: netbeans_jdkhome="/usr/lib/jvm/java-8-oracle" Pointing to the address where java is installed, the address shown is for version 15.10 of ubuntu If it not works not reinstalls ...


0

You cannot open a program on your display from cron. Any job you wish to run via cron must not require any services of a logged in user session, including a valid display to place GUI apps on.


-1

The crontab may use a different user than you. When you say cd ~/path/to/file you are directing the file from your own user directory by using ~. You should use the absolute path which is in your case: cd /home/yourusername/path/to/file


1

I figured out the problem. The screen sessions aren't "disappearing", they're just detaching. The way I fixed this was by using "screen -ls", finding the PID of the screen I wanted, then using "screen -r " to reattach the screen and allow access to it. Thank you to MadMike for the link.


0

Solved the issue by removing the following line -XX:MaxPermSize=512m. It is found in files : PATH_TO_INTELLIJ\bin\idea.vmoptions PATH_TO_INTELLIJ\bin\idea64.vmoptions Found the answer in this discussion.


0

Try creating a Launcher using the commands, it's easy and simple! Right-Click Click Create launcher and fill in the command and directory, also change "minecraft.jar" to "Minecraft.jar" as that's what it's called for 1.9


0

I don't think the issue is Lubuntu, you can try this link and see if it helps. http://stackoverflow.com/questions/1596009/java-lang-outofmemoryerror-java-heap-space


1

To see if it has installed, search for the installer. You can try to check in the var directory and into cache. Follow this path:/var/cache/oracle-jdk7-installer/ls. This will give you all the details about JCE and the Policies.


2

You can get them at this PPA sudo add-apt-repository sudo add-apt-repository ppa:webupd8team/java && sudo apt update sudo apt install oracle-java7-unlimited-jce-policy How can you tell if it is installed? This command will succeed :) source


0

Open a terminal Execute the command: jcontrol



Top 50 recent answers are included