Sponsored Content
Top Forums Programming Unable to run java in redhat os Post 302742443 by itkamaraj on Tuesday 11th of December 2012 04:49:39 AM
Old 12-11-2012
Are you checking the java file in the below location ?
Code:
 
[XXXXX@YYYYYY bin]$ java
bash: /home/XXXXX/java1.5/bin/java: cannot execute binary file

---------- Post updated at 03:19 PM ---------- Previous update was at 03:18 PM ----------

if you want to execute the java file which present under the /home/XXXXX/apache-tomcat-6.0.18/jdk1.5.0_14/bin, then you need to execute it like ./java
This User Gave Thanks to itkamaraj For This Post:
 

7 More Discussions You Might Find Interesting

1. Red Hat

Unable to start cluster service in redhat 5

Hi, I am trying to setup redhat native cluster 5, i installed all the required rpms and issued the command service cman start (cman is the cluster manager) this gives me output... #service cman start Starting cluster: Loading modules... done Mounting configfs... done ... (0 Replies)
Discussion started by: santhoshb
0 Replies

2. AIX

Unable to install Redhat 5 on System p-510

Hii everyone, I am trying to install RHEL5 on system p Power 5-510 series box through installable CD's. Machine boots from CD and I receive boot prompt without any issue. After this when i press "Enter" tab, it starts loading Kernel and throws below error:- Also LED code i am receiving is... (6 Replies)
Discussion started by: Shrek
6 Replies

3. Red Hat

Unable to remove shared memory in Redhat Linux

unable to remove shared memory using ipcrm -m in linux $ ipcs -m ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 32768 root 644 80 2 0x00000000 65537 root ... (4 Replies)
Discussion started by: LinuxLearner
4 Replies

4. Red Hat

Unable to authenticate using NAGIOS on redhat

Hi, I have installed Nagios on Redhat 5 using rpms, it was successully installed and I have started the nagios and httpd service. While login on browser, using nagios userid and password, I am unable to login I have installed nagios and nagios-plugin rpms both. I have used the command... (0 Replies)
Discussion started by: manoj.solaris
0 Replies

5. Red Hat

unable to send mail from redhat linux server

While sending mail from linux server we observed below logs, stat=Deferred: Name server: xxxxxxxxxx.: host name lookup failure Kindly suggest what we need to change? Thanks in Advance (2 Replies)
Discussion started by: hydoss1
2 Replies

6. AIX

Unable to correct NMONVisualizer java error. Can someone help to decode this java error?

Hello AIX and Java gurus, I have a java error that I have no clue how to resolve. I am trying to run the popular NMONVisualizer utility against a NMON dataset and getting the error as shown below: /db2storage/NMON >java -jar NMONVisualizer_2015-02-02.jar com.ibm.nmon.ReportGenerator... (1 Reply)
Discussion started by: okonita
1 Replies

7. UNIX for Beginners Questions & Answers

Cannot find java, gcc, Oracle on RedHat 7.2

We received Linux RedHat. I tried java -versionno result gcc -c no result I cannot even find Oracle version or directory Do you know if JAVA, gcc, Oracle are supposed to come with Linux by default? Thanks, (3 Replies)
Discussion started by: digioleg54
3 Replies
rmiregistry(1)						      General Commands Manual						    rmiregistry(1)

NAME
rmiregistry - Java remote object registry SYNOPSIS
rmiregistry [ port ] DESCRIPTION
The rmiregistry command creates and starts a remote object registry on the specified port on the current host. If port number is omitted, the registry is started on port 1099. The rmiregistry command produces no output and is typically run in the background. For example: example% rmiregistry & A remote object registry is a bootstrap naming service that is used by RMI servers on a host to bind remote objects to names. Clients can then look up remote objects and make remote method invocations. The registry is typically used to locate the first remote object on which an application needs to invoke methods. That object in turn pro- vides application-specific support for finding other objects. The methods of the java.rmi.registry.LocateRegistry class are used to get a registry operating on a particular host or host and port. The URL-based methods of the java.rmi.Naming class operate on a registry and can be used to look up a remote object, bind a simple (string) name to a remote object, rebind a new name to a remote object (overriding the old binding), unbind a remote object, and list the URLs bound in the registry. OPTIONS
The following option is supported: -Joption Used in conjunction with any java option, this option passes option (no spaces between -J and option) on to the java inter- preter. SEE ALSO
See (or search java.sun.com) for the following: java.rmi.Naming @ http://java.sun.com/j2se/1.5/docs/api/java/rmi/Naming.html java.rmi.registry.LocateRegistry @ http://java.sun.com/j2se/1.5/docs/api/java/rmi/registry/LocateRegistry.html 23 Apr 2001 rmiregistry(1)
All times are GMT -4. The time now is 04:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy