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
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?
I have installed Jre in my CentOS by following instruction here InstallationBut the problem is each directory or file contains the "*" (asterisk) at the end offile name or directory even though i have fired following command chmod a+x or chmod +xso please tell me how can i execute the executable file because when i am trying to run "java" its showing me following error
I am running SUSE 10.2 under z/VM 540 and have java working fine. I also have IBM EKM software running fine(if I execuute the script manually).I am trying to start this software automatically following the boot process. I have tried creating a member /etc/init.d/after.local but it does not seem to know where java is./etc/init.d/after.local: line 2: java: command not found"" After I login to any user I can get java -version to work, so my classpath is good.
LINUXEKM:/ # java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pxz64dev-20091106a (SR11 ))
I have Debian Testing, Kernel 2.6.32-trunk-686 and Java version: java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
If I open web page with Java application (in Opera, Iceweasel and Google Chrome), for example this page: [URL] I get error message (image in attachment). If I click in the Details, I get this text: Java Plug-in 1.6.0_16 Using JRE version 1.6.0_16-b01 Java HotSpot(TM) Server VM User home directory = /home/johnnycage c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n>
load: class AppletGui not found. java.lang.ClassNotFoundException: AppletGui ..... Exception: java.lang.ClassNotFoundException: AppletGui
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
I've just installed Debian on my old iMac G3. The install seemed to go ok but failed to load to the GUI. Thats ok I'll just enter some lines into the xorg.conf and it will be fine, or so I thought. Now at the shell prompt when I type in any sudo command it says: "sudo command not found" Is there an alternate command I can use in this situation.
I did install a brand new debian etch on my server, update and upgrade has been done.I did installed a postfix and couple of tools ( like courier-* ).But when i want to try to sent a mail with mail command, it says command not found.I did use the method on the bottom of this thread succesfully, but any idea for this tool to be back on my server ?Did i uninstall it when installing a package ?
I have installed Lenny in my labtop. I have problem to install packages; command "make" "make install" "configure" doesn't work. It return: "bash: make: command not found". So I can't install flashplayer :/ Well, I start with Lenny.
I admit PV is new to me, compared to simple HVM, so I have a number of questions:
1. Why the command not found error?
2. Should I be booting from the Xen option or regular boot option at the start up screen when creating the xen image? I've tried both and get the same error message.
3. I have Debian 8 (Jessie) installed on my system and I wasn't sure whether I should therefore make this the guest OS in my Xen PV. In asking this question I'm thinking in terms of HVMs - but I assume my Xen PV needs a guest OS of some kind? Or is my host Debian 8 already acting as a guest OS in Xen PV? I'm confused
4. If I do need to install a guest OS, is it better to go for an earlier version of debian - so as not to be so resource hungry?
I'm nervous about screwing up my host debian installation, so when I got the error message, did some research but found nothing meaningful. I don't want to end up having to reinstall my Debian 8 (base OS) ... again!
Well it didn't go smoothly for me. After downloading over 1,6Gb (!) of that new Debian version and restarting I was 'greeted' by a dreaded CLI instead of gnome. To make matters worse I got "command aptitude not found". 'apt-get' still worked. Anyway, if you're gonna update check dependencies first. It seems I lost gnome due to gstreamer0.10-gnomevfs. So first uninstall that package if you got it.
I recently did a reinstall on my system and I am now running Squeeze. I am currently trying to get some software running, but I believe I am having issues with the graphics requirements. The software needs an X server with 8 bit / PseudoColor mode. It is recommended to work in "8,24"-overlay mode. This was set up on my old install on this computer, so I know it is not a problem with my graphics card. But in the installation guide it says to enable this function it is necessary to add some information in the file /etc/X11/XF86Config-4. The problem is I don't have this file. I had this file in my old install, but on the fresh install it is not there. I have the /etc/X11/ directory, and it contains: directories: app-defaults, applnk, cursors, fonts, twm, xinit, xkb, Xreset.d, Xresources, Xsession.d
I think I've looked through everything in the /etc/X11/ directory but I don't see anything that looks like the XF86Config-4 file. Is there possibly a package that I am missing or something I need to run to create this file? I know on my old install this file was created or modified by running 'xf86config' in the command line. I've tried that, but it tells me 'command not found'.
I am a ham radio operator and I want to use my computer to run "RTTY", "PSK31", and other digital modes. Therefore I have to be able to configure the serial port.
I only have the onboard port (ttyS0).
I can get info about the port by using "$ dmesg | grep tty"
Code: Select alldebian@melsdeb:~$ dmesg | grep tty [Â Â 0.000000] console [tty0] enabled [Â Â 1.533804] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [Â Â 1.534337] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
But when I try to use "setserial" by itself or with any parameters I get this...
Code: Select alldebian@melsdeb:~$ setserial -g /dev/ttyS0 bash: setserial: command not found
Is it possible to run a java command as soon as the terminal opens and after it displays you have the normal terminal prompt. I have an ascii header i made its a java file and i want it to display every time i open the terminal so it shows as a header.
I am doing some embeded linux work in ARM 9263.So I need to make a image for that board.But when I using one command "make uImage" I am getting the following error.
make: arm-linux-gcc: Command not found CHK include/linux/version.h make[1]: `include/asm-arm/mach-types.h' is up to date. CHK include/linux/utsrelease.h HOSTCC scripts/basic/fixdep code....
I'm trying to boot into the Live CD (64bit version) and it dies with an error "nouveau .... 0x8DF6 Init table command not found: 0xA9". Get the same error after I install and try to boot into Debian, it starts booting but errors out later.
Running Intel 4770K on Gigabyte Z97X-UD5H with 8G ram, Nvidia graphics card and several SSDs ...
I have a simple script. When I run it as cron job. I jot email saying:/bin/sh: line 1: test.tmp: command not found.Even I took first line out, I got the same error.The current shell I have is /bin/tcsh.
I occurred a really weired problem, which is touch : command not found.I was going to create a blank file, so I type the touch command which didn't work.I'm running centOS 5.
i was trying to install windows xp on vbox, but the cd wont work, so i want to make an iso image from the cd and run it from that. after some research, i found this code to use disk dump and make a raw cd image:
Code:
dd if=/dev/cdrom of=~/cdrom_image.iso
ive done that successfully (making sure the drive is unmounted), but i cant even find the file now. ive searched the filesystem, but it doesnt appear anywhere.