Ubuntu :: Starting A Java App On Startup 9.10?

Apr 26, 2010

First of all I'm using Ubuntu 9.10.I have tried using System/Preferences/StartupApplicationsI added:java -Xint -cp /home/Edgar/dist/Edagr.jar:/home/Edgar/dist/Annotator.jar com.ionetrics.edgar.EdgarI don't know if I am calling this incorrectly or not. I know that I can call this from a terminal and it will run correctly.However it will not run at startup. I have added Teamviewer to startup and it runs properly.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Starting With Java - Need Jdk-6?

Apr 29, 2011

I've been running Ubuntu (10.10 - 32 bit) for about 3 months. Being curious about the very basics of Java programming I've just installed Netbeans 6.9 through the Ubuntu software centre and done the "Hello World" exercise within Netbeans. The file is in my Home folder but I'm not clear how now to try and run it.

Some Googling has raised some contradictory recommendations about adding the Sun/Oracle repository and the installing JDK6 as well. I'm now getting out of my depth so if someone can share knowledge on where to go from here I would be grateful. Have just registered so I hope this post is expressed correctly.

View 2 Replies View Related

Fedora :: Java Applet Not Starting

Apr 10, 2011

Java applet don't start in Fedora 14, I have installed the latest jre, but no luck, any idea what else is needed ?

View 2 Replies View Related

Ubuntu :: Starting Firestarter At Startup?

Aug 15, 2010

I need to start firestarter at starup, but the application need root credentials, I use "Startup Applications" when I need a program to start upon login, but firestarter need input the su password... how could I get around this?

View 1 Replies View Related

Ubuntu :: Startup Applications Not Starting Up?

Aug 10, 2011

On Ubuntu 10.04, I have been trying to add some Gnome startup applications via the menu system without success. How can I debug/trace this process?

View 6 Replies View Related

General :: Ubuntu 9.10 - Java Error When Starting Scripts - No X11 DISPLAY Variable Was Set

Dec 25, 2009

my java version is this

java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)

And when i am trying to run my gameserver scripts i get this error.

root:~# /home/l2jserver/login # ./L2JConfig.sh Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.

at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:431)
at java.awt.Frame.<init>(Frame.java:403)

[code]....

This is not my desktop computer but my remote server.

View 1 Replies View Related

Ubuntu :: Disable Pidgin From Starting Up On Startup?

Apr 4, 2010

Pidgin auto starts with the computer, I've closed out of it and killed the process and restarted to make sure it wasn't saving the session, it still starts, theres no option in any of the settings for pidgin to turn it off, is there a way to?

View 3 Replies View Related

Ubuntu Networking :: Stop Wireless Starting At Startup

Apr 5, 2010

Ubuntu 9.10
Acer 7736

This machine has a combined key/indicator light to turn the wireless networking on/off The change of state of the switch is detected by software with the switch off iwconfig shows

[Code]...

View 2 Replies View Related

Ubuntu :: Preventing Upstart Jobs From Starting On Startup

May 24, 2010

I'd like to reconfigure vsftpd so that it does not start on boot (and I can enable/disable it using service vsftpd start/stop).

Though I've seen posts in the forums that stated that upstart jobs can be disabled by moving the /etc/init/job.conf file, other sites commented that the original file will be recreated on updates.

The other two suggestions were to alter the upstart script such that either the process starts on never:

Code:
start on (never
and filesystem
and net-device-up IFACE!=lo)
stop on runlevel [!2345]

[Code]....

View 2 Replies View Related

Ubuntu Networking :: Dhcpd3 Server Not Starting On Startup?

May 31, 2010

I currently got Ubuntu 10.0.4 server edition running on my server. I got 2 network cards in it. One for (eth0) the pppoe connection and the other one (eth1) for dhcp and network.

When i installed dhcpd3 server a couple of days ago, it wouldn't start. So i searched the web and came on the conclusion that i have to do " sudo ifconfig eth1 down sudo ifconfig eth1 up 192.168.0.1"

Problem is i don't have connection with this pc all the time. So if i have to restart it, the dhcp server won't start.

View 1 Replies View Related

Ubuntu :: Startup Services Not Starting (mysql / Apache2)

Feb 20, 2011

I had a hard drive failure and have recovered (rsync) my backup root filesystem onto a new drive. This all seems to be fine, except that at least two services no longer start: mysql and apache2.I can start successfully both through

Code:

sudo /etc/init.d/mysql start
sudo /etc/init.d/apache2 start

although mysql throws a warning about Upstart. Neither start automatically.My system is Ubuntu 10.04.1 LTS x86_64. Part of my reolution actions has involved a kernel update to 2.6.32-27-generic.I have tried to resolve the mysql issue first:

Code:

sudo update-rc.d -f mysql remove
sudo update-rc.d mysql defaults

Code:

sudo apt-get remove --purge mysql-server
sudo apt-get install mysql-server
adding them /etc/init.d/... start commands to /etc/init.d/rc.local script and to a session startup script

checking the services are in rcX.d (using bum and sysv-rc-conf) Ensuring there's a .conf file in /etc/init (which there is).I can't see anything in syslog which would suggest if the system has tried to start these but failed, but then I may be looking in the wrong place. I think they're not starting at all. I wonder if it's something to do with the restore, perhaps symlinks?

View 4 Replies View Related

General :: Starting A Service At Startup?

May 11, 2010

I want to start a service and a script SiteMonitor.sh at startup.

Here is brief working of SiteMonitor.sh(This script monitors the ip addresses of machines which are using http service of the host. This script checks this after every 5 seconds therefore i have run it at background.)

To start with i have modified /etc/rc.local file.

Here is the content of my /etc/rc.local file.

Code:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

[Code]....

View 14 Replies View Related

Software :: Starting A Job At Startup Without Logging In?

Nov 30, 2010

I'm trying to think of the best way to have a job start up on it's own when a system (running CentOS 5) boots up. The job is a simple python script. However, there are some interesting conditions that need to be met:

- As stated, script needs to start and run in the background when the system boots up, but without anyone logging in.

- This script needs to be readable only by root, which means it will need to be run as root

- Only 1 person will have root access, meaning nobody else will have access to see this script or it's status.

The entire point is to have this thing running all the time, even if the system reboots, but to make it so nobody can see the script or view it's source, unless they have root access, which only 1 person will have.

I can think of plenty of ways to have things start up automatically when a system comes up, but they all involve having the user log in as part of it. How can I have a listening python script start up, at boot up, on it's own, without root actually logging in?

View 2 Replies View Related

Software :: Starting A Program On Startup?

Nov 2, 2010

i want to run my program and when it starts up shows an option to say : do you want to start this program at start up? and then if yes copy this program at start up how i can do this?

View 3 Replies View Related

CentOS 5 :: Starting The Firefox On Startup?

Dec 17, 2010

i want to start firefox on startup of my os.so i tried these commands:

ln -s /usr/lib/firefox-3.0.18/firefox /etc/init.d/firefox
ln -s /etc/init.d/firefox /etc/rc5.d/S99firefox

and then i restarted my pc i nothing happened.what should i do ?

View 3 Replies View Related

Debian :: Error On Startup - Starting NFS Common Utilities Failed

Apr 18, 2011

I'm not very sure when this issue started. Anyway, the system finally boots and I haven't had any further problems, but I somehow notice the booting to be a bit slower since this error appeared and I don't like watching the red letters that say "failed" every time I switch the computer on. I googled this before posting it, and other users have had this issue, but the solutions that worked for them didn't work for me.

This is the content of my /etc/network/interfaces file:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback

View 5 Replies View Related

General :: Java Apps Slow Startup When Connected To Network?

Aug 11, 2011

I'm using Arch Linux with kernel 3.0 and brcmsmac to manage my wireless card. My desktop environment is KDE 4.7 and I use networkmanager to handle network. Recently I've been affected by a weird problem wherein whenever I'm connected to a network Java apps such as jEdit take ~30 seconds longer to start but behave normal once started. What could it be due to and how can I fix it?EDIT:The problem occurs both with Oracle's JRE and OpenJDK, both versions 1.7. I'm behind a HTTP proxy, if that makes a difference.EDIT:I've discovered the cause of this problem. My /etc/hosts file had the wrong host name in it. After correcting this to my hostnameeverything is fine.

View 1 Replies View Related

General :: Command To Check The Java Version: Java -versionand Got :bash :java: Command Not Found?

Jul 26, 2010

I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found

View 4 Replies View Related

Ubuntu :: Install Latest Java Version - Java SE 6 Update 24?

Feb 18, 2011

If you are interested, Java SE 6 Update 24 is available. The Check Java Version link in my signature will tell you if you are up to date or not. The Update Java Version link in my signature will tell you how to obtain and install the latest version. The 32 bit version install directions are on the left side of that page and the 64 bit instructions are on the right side.

Just remember to remove the current version before installing the new one as it says in the instructions. The remove instructions are below the install instructions. Also, in Step 9 - "Now you'll want to tell the system, that there's a new Java version available." See the note below it that says if you get an error upon entering the command once, enter it a second time. I have to do that and sometimes forget. Just thought I would mention that. These instructions are already setup for version 6 update 24, but they can be modified for any update and they will work. I have been using these instructions for a couple of years and they work.

View 9 Replies View Related

Ubuntu :: Install Java And Firefox Java Plugin On 10.10?

Jan 28, 2011

How to install java and firefox java plugin on Ubuntu 10.10?

View 2 Replies View Related

Debian :: Install The Java Plugin But The Java Test Pages Show Not Installed

Jun 13, 2011

I try to install the java plugin but the java test pages show not installed. I have tried the openjdk-6-jdk package and the Oracle/Sun 1.6.0_26 version to no avail.

Is there some good instructions page someplace? I have yet to find a set of instructions that provides something clear that works.

View 5 Replies View Related

Slackware :: Installing Java Error - When Trying To Run A Java App With The Firefox Plugin - Browser Crashe

May 29, 2011

Code: ~ $ /usr/java/jre1.6.0_25/bin/java -showversion Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/Object

That's the error I get. When trying to run a java app with the firefox plugin, the browser simply crashes if it's the 64bit java or tells me it's not installed if it's the 32bit version.

I'm at a loss as to what to do. I think it has something to do with leftover gunk from a previous version I misinstalled(Is that even a word?) Anyway, the only thing that google could come up with was a solution for windows which laid blame on Bill Gates for having a bunch of pf (java prefetch) files stuffed into c:windows for no apparent reason. The solution was to delete them, but I can't seem to find the java prefetch folder in linux. The method I used is downloading the rpm from java.com the rpm2tgz then installpkg then cp libnpjp2.so to firefox plugins folder.

View 8 Replies View Related

Debian Installation :: Java Programm To Install And The Installer Is GUI Java Based?

Feb 18, 2011

This is my first post and I'm pretty new on Debian. I had used Ubunu for a while now and I've decided to move on Debian Squeeze.But I've one problem: I've a Java programm to install and the installer is GUI Java based. When I run the script, I've the next message:

Preparing to install. Extracting the JRE from the installer archive.Unpacking the JRE.Extracting the installation resources from the installer archive.Configuring the installer for this system's environment.Launching installer Graphical installers are not supported by the VM. The console mode will be used instead. Preparing CONSOLE Mode Installation. But this program is not able to run the installation in console mode.

I've tried to install sun-java6-jre but without success.Has anyone an idea to help me install this programm? My Configuration: Debian Squeeze 6.0 amd64.

View 13 Replies View Related

General :: Enter The Command Java -version It Shows Java Is Not Found?

Jan 19, 2010

Java is installed in linux machine and when I enter the command java -version it shows java is not found.At the same time when i run from the folder where its installed with ./java -version it works.

first of all why its not working from any other place? also why do I need to give ./ from the folder?

View 3 Replies View Related

General :: Java JRE Installed So End-users Don't Have To Install It To Run Java Applications?

Jan 29, 2010

Do Windows XP, Vista, Windows 7 and all Linux distributions have Java JRE installed so end-users don't have to install it to run Java applications?

View 4 Replies View Related

CentOS 5 :: Java Not Working In Firefox After Java Upgrade

Apr 5, 2010

After upgrading java (jre) to 1.6.0_19, the java plugin no longer loads into Firefox. All the rest of my plugins from /usr/lib/mozilla/plugins/ load fine.Java can be a pain such a pain the neck!

View 8 Replies View Related

OpenSUSE Install :: 11.4 Insists In Starting X - Stopped With Message On Tty1 "Starting YaST2"

Jul 18, 2011

I installed OS11.4 on my old laptop, Compaq Armada E500., 512MB RAM, ATI Rage Mobility. During installation I chose "minimal server" and added some development packages, lxde and a little more. I chose to start in runlevel 3 which is full networking without X. Still, when computer is booted it tries to start Xorg which doesn't work because of some problem w driver. The start-up seems to stop there, it never loads completely - seems most things in runlevel 3 are not started (see below) I can manually login on laptop and fix it - but never permanently, same thing again after reboot.

I have checked /etc/inittab & yast - both states default runlevel is 3. I have checked services to be started both directly, browsing directory /etc/rc.d/rc3.d/, and with YaST, it is very clear X should not load during boot. But, as said, it does.. I don't really care about the driver problem right now, I can fix that later when I have more time. So how do I stop X from getting started automatically?

More info, if needed: The installation also stopped with message on tty1 "Starting YaST2" and tty8 showing errors with graphics driver (mach64). The system seemed to be installed though, so I simply rebooted (issuing "reboot" from tty2).

[Code]....

I'm not completely sure where it stops, network is configured but keyboard is wrong and mysql & everything after is not started, so somewhere between S02network and S06kbd. I'm going to use it as a server for testing purposes so no X is actually needed - however I do want to have X & lxde installed just in case, my Internet connection at home is terribly slow so I need most things I might need in the future installed today.

View 1 Replies View Related

CentOS 5 :: How To Install JAVA JAVA BRIDGE PHP

May 1, 2010

I have installed CENTOS / PHP 5.1.6 / JAVA 1.5.0_20. Now i want to install JAVABRIDGE for PHP and JAVA title should list in the PHP_info page.

View 1 Replies View Related

Ubuntu :: Which Java - OpenJDK Or Sun Java ?

Aug 26, 2010

If I want to install Java on Ubuntu: which Java version should I take?

OpenJDK or Sun Java ?

What is mostly used on Ubuntu?

What are the pros and cons?

View 1 Replies View Related

Ubuntu :: Installing Java From Java.com ?

May 6, 2011

I would like to install JRE-6u25 on ubuntu.

When I go on the website I see only RPM and another download called:

linux self extracting. The file name for this one is: JRE-6u25-linux-i586.bin

It says to restart the browser after install.

I want to install java to play minecraft. I'm having some speed issues using openJDK.

Would the self extracting file work for minecraft standalone? (I tried playing in a browser without success).

Is using the self extracting file the same as using say the RPM?

View 1 Replies View Related







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