I just did an upgrade from 8.04 to 9.04 and i'm loving it. I just need to get Java working so I can use ..... and stuff like that. I installed OpenJDK and the plugin but I can't figure out how to get it to work in Google Chrome or even Firefox.
I would like some help to run sql queries in Ubuntu. For a school IT project, we must write a Java program that runs queries. Seeing that I'm going away on holiday and will be away from my Win7 desktop, I will have to work on my Ubuntu laptop. When I run my program, I get these two sql exceptions:
Code:
sun.jdbc.odbc.JdbcOdbcDriver No suitable driver found for jdbc:odbc:ITPAT2010
Note: it is not my program that is causing the problem, since it works fine on Win7. But here's my code anyway:
Code:
void OpenDB() { System.out.println("INTO BRIDGE"); String url = "jdbc:odbc:ITPAT2010"; //JOU BRUG SE NAAM
[code]....
I believe the drivers that handles the connection to the database aren't installed. The format of my database is: *.accdb (was created on Win7 using Office 2010). I can't open this file, probably because I have no database programs installed?
I am the new user of linux and installing eclipse IDE in the ubuntu server10.10. I have followed the steps given in the links [URL] and [URL]. After installing sun-java6-bin, sun-java6-jre and sun-java6-jdk, java is not running in my ubuntu server10.10. and got error like this
$ java -version Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg' $ javac -version Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg' $ javac HelloWorld.java Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg' $ java HelloWorld Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg'
I have this problem that whenever java is running (eg. Runescape), sound works only in the Java window, and I don't get sound from flash, mp3s or anywhere else.I found several similar threads but most of them were unsolved, and the few solutions didn't work.Note: Earlier, I used to use IcedTea browser plugin for java, which didn't seem to give any sound problems, though was a bit glitchy otherwise. This problem started only after switching to the Java plugin found
I am the new user of linux and installing eclipse IDE in the ubuntu server10.10. I have followed the steps given in the links http://www.cyberciti.biz/faq/howto-u...igure-jdk-jre/ andttp://eclipse.dzone.com/articles/ho...-33-ubuntu-710. After installing sun-java6-bin, sun-java6-jre and sun-java6-jdk, java is not running in my ubuntu server10.10. and got error like this
$ java -version Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg' $ javac -version
I'm having some trouble with Java based games. I am running 11.04 64x and I downloaded and installed the latest sun-jvm. I know my hardware can run these two games very well (Minecraft and Spiral Knights). I'm wondering if maybe sun isn't my default plugin.
The main problem is that the software was developed about 15 years ago and is incompatible with the most current version of Java. I would like to know how to install an older version of Java so that I can use it with just this one application, without changing the version of Java that I use for everything else.
I can't seem to be able to get Java working on my computer which is running Ubuntu 9.10 and firefox 3.6. I have followed instructions to download Java and when I restart firefox there is no Java plugin and it does not appear to be installed.
I'm trying to get a Tomcat server running using the Java VM -server option on Ubuntu Karmic 9.10 (I'm using the official Karmic AMI on EC2: ami-bb709dd2)
I install Tomcat: Code: sudo apt-get -y install tomcat6
I set up a bit of configuration in /etc/default/tomcat6: Code: JAVA_OPTS="-Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"
I can start Tomcat with no problems: Code: sudo /etc/init.d/tomcat6 restart
However, if I add the -server option into the JAVA_OPTS variable, like so: Code: JAVA_OPTS="-server -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"
I get this: Code: $ sudo /etc/init.d/tomcat6 restart * Stopping Tomcat servlet engine tomcat6 ...done. * Starting Tomcat servlet engine tomcat6 Invalid option -server Cannot parse command line arguments
All day today, my laptop has been absurdly hot.The core temperatures were exceeding 70.0C even though it was on a cooling pad and I had disabled wireless, lowered the screen brightness, and put the CPU on Powersave. (For comparison, the temp usually stays at 45.0C if I do all this)
Finally, I decided to check htop, and I found IcedTea Plugin at the top with 99% CPU usage. This is used to run embedded Java applets (Java, not Javascript). Curiously, no Java applets were running at that time.Now skip ahead an hour to when I finally discover that the IcedTea Plugin was left over from earlier because it didn't stop running when it was supposed to. Looking online, I see several complaints about Java being very taxing on the CPU in Ubuntu, but I don't see anything about Java applets continuing to run after they're gone.
Can anyone who has Java installed confirm that this happens on their system?
1. Open htop. Search for "icedtea" to make sure it isn't already running. Then click on "CPU%" to sort the list. 2. Open this page in Firefox: www.java.com/en/download/help/testvm.xml 3. Check htop. Is IcedTea climbing to the top? (if you have Java, it likely will, because this is a common issue) 4. Navigate off of the Java.com page by closing the tab or clicking Back. 5. Here's what I want to know. Check htop again. Is IcedTea still there? 6. Restart Firefox to get rid of IcedTea.
I am Dharmendra newbie to Ubuntu 10.04 OS and looking for how to install java (jdk1.6) on Ubuntu and also want to play the video and the problem is that i don't have an internet connect so is there any other way to get pacakages or plugins to install the above software reply me soon am waiting for that.
I'm new to Fedora and have just purchased a subscription to a GoDaddy Virtual Dedicated Server, which I'm able to control using SSH.I have a Java application that I want to run as a daemon on this VDS. Some google searching yielded a bunch of different methods of doing this, none of which I'm sure would be guaranteed to work with Fedora, so I was hoping someone here could give it to me straight and fill me in on the simplest way of doing this.What is the best/simplest way to run a Java application as a daemon on Fedora?
I have a java program where I want to run it every 30 seconds. So what is the best way to run in that form? Is it running as a service or a cron is best? How to do with it
i want to use java as tool in which i give an input,and on the basis of this input my specific script run. for example.... if we talk about web server.. in my java page..i have to just type my web page name...say [URL] and then enter the text...say "hi how are you" then my script will run... in the script it itself start the service,then edit the configuration file in /etc/httpd/conf/httpd.conf and make changes according to my input in java page... i know the scripting but i dont know how java command will execute my script...
My sound is otherwise working fine, but for some reason i'm not getting any sound when running java applets. This issue is very important to me, i would -really- like to get the sound back on this applet.it's a java runtime environment applet, running in embedded in firefox. Somehow, the systems isn't detecting it as a application outputting sound.
i tried uninstalling the sound manager application via synaptic, selected the 'completely remove' option, and wound up uninstalling essentially the entire OS last weekend. i'd like to not repeat that mishap, as i lost all my data.
Our school is setting up a Linux computer lab for students to use. We have Kinetic Books and would like to run it on these computers. The software is java-based. Is it possible to run it under Wine? Are there any general rules-of-thumb for which programs are Wine-compatible?
I have a java program which I need to run as a service or daemon. What is the most stable method to do it? It will be heavy processing socket programming which will be continously receiving data?
i've some trouble to write a script on java on linux to check if service(ie:smbd) is runing or not,, could you give me some example? Or if is there any source about it for me to learn? i've two days search with zero result...
and it will work fine for a while, but then, while we're playing, it'll become unresponsive and crash. I then go over to the physical computer, wake the monitor up by pressing the down arrow, delete the "[[B" that appears, and try to issue the applications stop command to save and close the application. This doesn't work. The computer registers what I type and registers the return, but nothing happens. I switch over to my second console, log in, find the PID of java, and attempt to kill the java process as root. It accepts the command and gives me another line of prompt, but when I switch back to the first console, nothing has happened.
I then switch back and try to issue a shutdown for right now, and it'll get to "Sending processes the SIGTERM signal", and then it waits for them to be killed, but will not progress further than that. I then have to either force the shutdown with the 3-second hold for the power button, or I have to turn off the power bar it's attached to.
Also, if I'm at the prompt and press backspace, which gives me a system beep, it doesn't stop. Instead of one, short beep, I get a never-ending tone, as opposed to the beep.
The computer does run a little hot; It's in a closet and it's kind of crammed, but it's never so hot that you can't handle the computer.
I am running a mentor graphics tool which used java-jre. Every time I try to invoke the tool I get the following error message
From the error message I thought gcc_4.2.0 is not installed in my system. I went to synaptic package manager and installed gcc_4.2, but I still get this error.
I just installed Ubuntu10.10 (i had 9.10 before that). I am trying to run VisualVM (which was already installed) and i get the following error "You are running VisualVM using Java Runtime Envoronment (JRE). Please use Java Development Kit (JDK) to run VisualVM"
I have Sun JDK installed. How do I instruvt VisualVM to use the JDK?
I have a java program that runs on Debian as a background processor. Yesterday the Java program stopped running. I looked at the memory usage, the system only had 5MB memory left, so my guess is that the java program ran out of memory to use.
However, after we restarted the java program, we could see that the free memory count started to go up. It kept going up from 5MB to over 400MB. The increase of memory happened slowly, when I measured it, I could see that with each minute passing by, there were a bit more memory added into the free memory pool, and meanwhile, the java background process was running.
I wonder why this would ever happen. It's as if our java program first brought the machine done because it consumed all the memories, then after restart, it starts to give back memories.
I have user A who owns a .jar file I have user B. who needs to run the .jar file I have Java which is owned by root.
I would like to work out whether/how user B can run the .jar file, in Java, with the permissions of user A. As I understand it, a running process in Linux typically takes the permissions of the user who executes it. However, the way I'd like to configure user B, the permissions I want them to have wouldn't be sufficient for the process to successfully run.I know you can also set a process to take the permissions of the owner of that process, but in this case the actual... executing process would be Java, which runs the .jar file, and I def. don't need this, let alone every single instance of Java on my server, to execute with root priviledges. So like I said, basically I am trying to work out how to let user B run this specific process with the process elevated to this set of priviledges which user B otherwise does not have.
I recently started running a Minecraft server for myself and some friends and am running it via Linux. I'd like to set things up so that a friend of mine can, as needed, telnet into the server and restart Minecraft as needed, as well as a couple of other things, without giving this friend the same access rights I've given myself to the same files. The minecraft server process runs in a screen, and I've worked out where screen can be set up so multiple users can get into it. However, if I'm running minecraft under my own user name, then that seems like it will just end up letting my friend, from his account, screen into my own account. SO the brilliant idea I had was, what if I had one user account which only existed to run the server, which both me and my friend could screen into as needed, which wouldn't have any more rights to anything than my friend has with the exception of being able to execute this one .jar in Java.
I am try to compile and run JVLC (Java binding for VLC). I download it from the following link. [URL] It works on windows platform with eclipse. But I want to run on linux. I use openSUSE 11.2 and Netbeans 6.9.1. When I running it, it appear user interface but when I play it, I got the following error. The error is
Code: java.lang.UnsatisfiedLinkError: Error looking up function 'libvlc_video_set_parent': /usr/lib/libvlc.so.5.1.0
I thinks I miss "libvlc.so.5.1.0" package to install. But where I can get it. In my openSUSE I have already installed "libvlc5-1.1.3-1.2.i586.rpm". But I cannot found /usr/lib/libvlc.so.5.1.0 directory.
im trying to run minecraft.jar which just freezes up at startup screen, wondering if i made a mistake in java along with that Firefox doesn't have a plugins folder i can find to put java into heres the files it has
application.ini libfreebl3.so libxul.so blocklist.xml libmozalloc.so Link to firefox chrome libmozsqlite3.so mozilla-xremote-client