Tag Info

New answers tagged

0

yesterday I tried hard, but today I loking for any text in the site of my CA Digital Certificate and found the new chain of CA. I installed in Firefox and now works. I installed in Chrome, don't work, but I import using the system and works... bad, but works. I see you later.


1

No, this is not possible. You can theoretically build on utopic, and then manually sync only the binary packages to the older releases, but you cannot configure Launchpad to do so automatically. You could also just backport the newer dependencies to the older versions of Ubuntu (trusty and precise) so that you can build the source on all of them, which ...


1

I can't help with the other things but for Java... you are trying to install the JDK which is the Java Development Kit, for programmers. You should only need the JRE, which is the Java Runtime Environment; the kit required to run Java applications and the Java virtual machine itself. Try installing the latest JRE and see if that helps.


0

I've solved this problem with these commands sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer sudo apt-get install oracle-java8-set-default and export JAVA_HOME=/usr/lib/jvm/default-java


1

Try this. just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below: sudo dpkg -r oracle-java7-installer sudo dpkg --purge oracle-java7-installer If the preceding does not work, you may try the following more aggressive method. Be aware, however, that it uses the rm command, which will completely remove files ...


0

Your current working directory in the terminal needs to be the same directory that has the sum.java file in it. The cd command is used to change directories in the terminal. Then the usage is the same as you wrote in your question, and it's also in: how to run java program in ubuntu in following situtations if you want to see another example.


1

Java plug-in is not working anymore on Chrome. From here: NPAPI support by Chrome The Java plug-in for web browsers relies on the cross platform plugin architecture NPAPI, which has long been, and currently is, supported by all major web browsers. Google announced in September 2013 plans to remove NPAPI support from Chrome by "the end of ...


1

I add the follow line at the end of eclipse.ini file: -Dorg.eclipse.swt.browser.DefaultType=mozilla It worked for me, I hope you too.


1

You could use this here as well if you want a full blown set of information: asadmin get domain.resources.jdbc-connection-pool.* sorry, I don't have enough reputation to comment on your last post...


1

Use /WEB-INF/duke.gif However, you need to access it as a resource from the servlet context. In your JSP: <% ServletContext ctx = request.getServletContext(); InputStream stream = ctx.getResourceAsStream("/WEB-INF/duke.gif"); %> I hope this helps...


-1

I have tried this guide before and worked for me ( Don't forget to change the java installer name in the commands with the recent installer name! ) >>> Install Java Guide <<< It's pretty large but it worked for me more than 5 times on different distros. And in case this don't solve your problem looks like there is more recent shorter guid >>> ...


0

Thanks to @Rao for the command, just need to put armhf instead of armel, and now Java is working


1

You have to have a list in a map in map to do this. The first map has the key to the name and the inner map has the key to the roll. import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main { static Map<String, Map<String, List<Person>>> persons = new HashMap<String, Map<String, ...


0

I see the same behavior as you do with OpenJDK-7. I solved it by installing version 8 of OpenJDK (sudo apt-get install openjdk-8-jre), and then selecting it using update-alternatives --config java In my case, the output of update-alternatives --config java now looks like the following: There are 2 choices for the alternative java (providing ...


3

see http://www.nabisoft.com/tutorials/glassfish/installing-glassfish-41-on-ubuntu This tutorial tells you in detail how to install Glassfish 4.1 on Ubuntu 14.04 LTS server and it should also work for 14.10 and newer versions of Ubuntu. It also cover some security concerns. Basically, to answer you questions: you can't run it on port 80 unless you run it ...


0

So after all this time, I think I have - absolutely by accident - found the answer. It looks like the reason for this laggines is glipper. Addon for clipboard in Ubuntu. I have no idea this is the real problem, but all I can say now is that if I terminate glipper, Matlab behaves correctly. Hope it helps someone in the future, as this is obviously a VERY ...


0

I changed cd /home/teamspeak/sbot To cd /home/teamspeak/sbot/ And it loaded into the directory correctly without an error


1

To solve this issue, put this line: org.eclipse.swt.browser.DefaultType=mozilla at the end of this file eclipse/configuration/config.ini and it'll work fine !!


0

The command you issued: set > eg.java Overwrite the eg.java file with other text (specifically, the output of the set command). You'll need to grab this file again.


0

while I know this is a linux question, I am also a programmer and I humbly suggest that you download an IDE and work with it on java. Netbeans is pretty good and is my favorite tool for developing java ( on both windows and linux..). Once you download the bundle, the installer will setup a jvm for you to work with from the IDE, thus saving you from a world ...


0

Delete pluginreg.dat in the profile folder. Instructions for finding this folder can be found at https://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content.


1

You should see Example.java if you type the ls (List) command in terminal ? one@one:~$ ls -l Your terminal launches by default in your home folder. If your file is in /home/shawn/usr/java, you have to change within terminal to this directory with the cd (ChangeDirectory) command: one@one:~$ cd /home/shawn/usr/java one@one:~/shawn/usr/java$ Now type ls ...


0

The answers above are correct but I have one thing to add. Actually the environment variables for Shell Session and Desktop GUI Session are different (check this). If the error happens when you launch IntelliJ with Desktop Entry(the Launcher), you might don't have JAVA_HOME in your GUI Environment. So the easiest solution is to add JAVA_HOME in the Exec ...


0

I don't think you are supposed to open Android Studio as root anyways, only sudo programs if you really need to, even if you think they are safe. Anyways, I think this is due to your environment variables not being set when you run the script as root. You may have to set your JAVA_HOME variable in the script (before launching Android Studio) Run this ...


0

you can find this file in your java folder "jli/libjli.so" or can you past output of following command. $ ldd java so that you will know the missing libraries for that binary.


0

Open up a terminal and enter this sudo add-apt-repository ppa:oibaf/graphics-drivers sudo apt-get update sudo apt-get upgrade (One line at a time) You may need to reenable unity's opengl using compizconfig-settings-manager, so after that execute sudo apt-get install compizconfig-settings-manager. After you did this type in ccsm and under the Desktop ...


0

Figured it out. The email was being sent because I had some lines of System.out.println() The logfiles were being created, just in the wrong place. I had to modify the original file line to be: PrintWriter writer = new PrintWriter("/mnt/data/scripts/" + "log" + format.format(date) + ".txt");


1

You can do this using xdotool, but it's not particularly elegant. As a one-off task, make sure that xdotool is installed: sudo apt-get install xdotool Then you can launch your jar as follows: TERM_HANDLE=`xdotool getwindowfocus`; java -jar maps.jar & sleep 5; xdotool windowactivate $TERM_HANDLE The xwindow getwindowfocus gets the current window ...


0

Icedtea Java Plugin is a web browser plugin to execute Java applets. You can install Icedtea Java Plugin from the Ubuntu Software Center, and this will also install whatever Java dependency packages you need to install Icedtea Java Plugin. JavaScript works in Firefox out of the box. To prove it try this JavaScript Online Calculator Demo from Mozilla Demo ...


3

Try Java Plugin detector Also Java tester javatester.org Also don't forget the terminal - Run in the terminal: java -version If you are using Firefox type about: Plugins. It will show your Java plugin being used:


0

There's also a file called install_unix which you have to apply the chmod +x trick to. Can't remember which folder it's in, but it'll be clear straight away as it's not in a subfolder. Also, when you're selecting which components to install, there's a reason the licence manager is automatically not selected. Please leave it unselected - it'll just cause ...


0

Java should work everywhere. Try to download a simple Java application from Internet too see if it works or not. I think you need to set the position of your JFrame. Try frame.setLocation(x, y);


0

To set the JAVA_HOME variable for only maven you can override your defaults by setting it in your $HOME/.mavenrc file. The $HOME/.mavenrc is sourced by the mvn script. This is useful if you want to switch jvm for different projects. This is the content of my $HOME/.mavenrc file: #export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64 #export ...


1

Firstly I opened Ubuntu Software center and searched for jdk removed the installer and default jdk 6 from there. Then I run the command : sudo update-alternatives --config java sudo update-alternatives --config javac And selected the openjdk-7 from there. But when I run : mvn --v it said that JAVA_HOME is not set. Then did the following steps: sudo ...


0

It seems that this is caused by ibus or some bug in it. I managed to fix it by clearing XMODIFIERS envvar, ie: XMODIFIERS="" java -jar /path/to/app.jar For now I'm using this only in two specific Java apps, but setting this using export in .bashrc or /etc/profile should work as well.


0

the GUI way $ sudo apt-get install galternatives $ sudo galternatives more here: http://askubuntu.com/a/159594/216936



Top 50 recent answers are included