Server :: Java Is Not Running In Ubuntu 10.10

May 13, 2011

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'

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Java Is Not Running In Server 10.10?

May 13, 2011

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

[code].....

View 7 Replies View Related

Server :: Debian Becomes Unresponsive While Running Java?

Mar 13, 2011

Kernel version: 2.6.26-2-686
Java version: 1.6.0_0

I'm going to run a full system update, but I doubt that'll work.

What happens is I turn the computer on, log in, start the application with:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

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.

View 2 Replies View Related

Server :: Css And Java Script Is Broken Zope Running Behind An Apache Reverse Proxy?

Jun 7, 2010

a reverse proxy scenario

Code:

Server A Server B (Zope Application)
Public IP 192.168.1.5

On the first one that is A in Apache vhost file I made

Code:

ProxyPass / http://192.168.1.5:8080/VirtualHostBase/http/192.168.1.5:8080/virtual_hosting/VirtualHostRoot/eduCommons
ProxyPassReverse / http://192.168.1.5:8080/VirtualHostBase/http/192.168.1.5:8080/virtual_hosting/VirtualHostRoot/eduCommons

but the CSS and images on internet which people are accessing are broken while it is running perfectly fine if I access on LAN.

Code:

[URL]

I have checked the documentation page and here also but still the problem persists.Also on LAN if the same is accessed like this

Code:

[URL] then CSS and Java script is broken. It is an eduCommons CMS. Which I am trying to access via internet.

View 1 Replies View Related

Ubuntu :: How To Get Java Up And Running

Feb 12, 2010

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.

View 5 Replies View Related

Ubuntu :: Running SQL Queries Through Java?

Jun 20, 2010

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?

View 1 Replies View Related

Ubuntu :: Sound Not Working When Java Running?

Mar 28, 2011

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

View 3 Replies View Related

Ubuntu :: Java Games Running Slow?

Jun 13, 2011

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.

View 5 Replies View Related

Ubuntu :: Having Multiple Versions Of Java Running On The Same Computer

Feb 4, 2010

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.

View 1 Replies View Related

Ubuntu :: Can't Seem To Be Able To Get Java Working On Computer Which Is Running 9.10 And Firefox 3.6?

Feb 10, 2010

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.

View 9 Replies View Related

Ubuntu Servers :: Running Tomcat Using Java VM Option

May 31, 2010

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

How do I set the -server option correctly?

View 1 Replies View Related

Ubuntu :: Java Applets In Firefox Stay Running?

Jul 12, 2010

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.

View 8 Replies View Related

Ubuntu Installation :: Running Java And Playing Movies?

Oct 15, 2010

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.

View 2 Replies View Related

Fedora :: Running Java App As Daemon

Aug 28, 2009

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?

View 2 Replies View Related

Fedora :: Running Java As A Service?

Oct 28, 2010

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

View 2 Replies View Related

General :: Running 32 Bit Java On 64 Bit Laptop?

Nov 16, 2010

I need to run 32 bit java on my 64 bit PC. I don't want to make the 32 bit java my default. Can I do it??

View 1 Replies View Related

Software :: Java Applications Are Not Running?

Sep 2, 2009

i have ubuntu 6.06, my internet connection is going fine but when i click on any image link,image is not displayed on my screen

View 1 Replies View Related

Programming :: Running Scripts Using The Java

Aug 17, 2010

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...

View 4 Replies View Related

Ubuntu Multimedia :: Embedded Java Applets Not Running Sound

Jul 16, 2010

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.

View 3 Replies View Related

General :: Java - Running Software Through Wine?

Oct 12, 2010

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?

View 3 Replies View Related

Red Hat / Fedora :: Running Java As Daemon / Service

Jul 7, 2010

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?

View 4 Replies View Related

General :: Check If Service Is Running Or Not Using Java

Feb 26, 2011

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...

View 5 Replies View Related

Programming :: Running Bash Script Using Java?

Aug 18, 2010

how can i run a bash script script by using java in rhel5... then please reply....i have vary good project in my mind.....

View 2 Replies View Related

Programming :: Running Shell Script From A Java Prg

Feb 20, 2011

I am facing problem of trying to access parameters to be given to shell script within a java prg.

I have following code to run the process within java but the parameter is not recognized within $ or without it also.

Code:

View 13 Replies View Related

Ubuntu :: Running A Mentor Graphics Tool Which Used Java-jre - Error Message

Mar 28, 2010

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.

View 2 Replies View Related

Ubuntu Installation :: Error "You Are Running VisualVM Using Java Runtime Envoronment (JRE)

Dec 3, 2010

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?

View 2 Replies View Related

Debian Programming :: Memory Usage When Running Java Program

Jun 28, 2013

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.

View 2 Replies View Related

General :: Java / Applying Elevated Permissions When Running A Particular .jar File?

Apr 11, 2011

regarding user permissions:

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.

View 1 Replies View Related

Software :: UnsatisfiedLinkError While Compiling And Running JVLC (Java Binding For VLC)

Sep 3, 2010

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.

View 1 Replies View Related

Software :: Can't Get A .jar Java File Running - Cant Find Firefoxes Plugins Folder To Tach Into

May 25, 2011

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

[code]......

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved