To find out which Java version is installed search for the installed package:
In most cases this will be Java 1.4, 1.5, 1.6 or 1.7. Once you found the name of the package issue a
To find out which files (and for your purpose more important - pathes) belong to the package. Then check your environment. You need several variables set:
"PATH" should include the bin-dir of your Java installation, something like "PATH=[...]:/usr/java6_64/jre/bin:[....]".
"JAVA_HOME" should point the root directory of the package, something like "/usr/java6_64/jre"
"LIBPATH" and "LD_LIBRARY_PATH" are in the same format as "PATH" (a colon-separated list of directories) and should both include the path to the Java libraries, which are located in either "$JAVA_HOME/bin" or "$JAVA_HOME/lib".
You can set these variables in your "~/.kshrc" file but i suggest to put them into the environment of any user (perhaps every user should be able to use Java) by placing these definitions in "/etc/environment".
Hi There,
Does anyone knows what could be the problem if my apache server is running but unable to load JK2 module into the server. My HTTPS is running on Apache Server 2.0.49 with ssl enabled and compiled with Mod_ssl on HPUX-11.11i.
In fact we have try out the following parameter,
... (4 Replies)
hi all
need your help.
I am wrting a script that will load data into the table.
then on another load will append the data into the existing table.
Regards
Ankit (1 Reply)
I modified the partitions on my Solaris 10 disk using format command in "boot cdrom -s" mode and then tried rebooting with "reboot". It said "Boot load failed".
Why does this happen?
I have faced this error before:( and I went in for a fresh installation of the OS.Can anyone tell me the reason as... (1 Reply)
My solaris 8 server messages log recored error
"Sep 30 21:35:00 bkp1 cron: open_module: /usr/lib/security/pam_unix_cred.so.1 failed: ld.so.1: cron: fatal: libproject.so.1: open failed: No such file or directory"
Any idea what is this related to and how to stop?
thanks in advance. (2 Replies)
Hi All,
I got the following errors when i was trying to restart Infiniband service.
Loading cxgb3 driver :
Loading HCA driver and Access Layer :
The command managed to bring up the services, but without RDMA modules loaded from /etc/init.d/openibd status output. Is the missing of RDMA... (0 Replies)
Hi,
i got the following error when i tried to access the cygwin x server from a windows XP PC.
"xdmcp fatal error session failed session 23 failed for display"
Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet.
... (2 Replies)
Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections.
tail -f /var/log/httpd/access_log shows no activity
/var/log/messages ;... (1 Reply)
I have M10-1. Installation OS 10 from cdrom external.
Here message from OK Prompt
{0} ok probe-scsi-all
/pci@8000/pci@4/pci@0/pci@2/pci@0/usb@4,1/cdrom@1
Unit 0 Removable Read Only device HL-DT-STDVDRAM GP65NB60 PF00
But..
{0} ok boot... (3 Replies)
Discussion started by: mbahjiman
3 Replies
LEARN ABOUT NETBSD
mono-config
Mono(Mono 1.0) Mono(Mono 1.0)
NAME
mono-config - Mono runtime file format configuration
DESCRIPTION
The Mono runtime will load configuration data from the installation prefix /etc/mono/config file, the ~/.mono/config or from the file
pointed by the MONO_CONFIG environment variable.
For each assembly loaded a config file with the name: /path/to/the/assembly.exe.config is loaded as well as the ~/.mono/assemblies/ASSEM-
BLY/ASSEMBLY.EXT.config file.
This file controls the behavior of the runtime.
The file contains an XML-like file with various sections, all of them contained inside a section (It actually uses GMarkup to parse the
file).
This page describes the Unix-specific and Mono-specific extensions to the configuration file; For complete details, see the
http://www.mono-project.com/Config web page.
<dllmap> directive
You use the dllmap directive to map shared libraries referenced by P/Invoke in your assemblies to a different shared library.
This is typically used to map Windows libraries to Unix library names. The dllmap element takes two attributes:
dll This should be the same string used in the DllImport attribute, optionally prefixed with "i:" to indicate that the string must be
matched in a case-insensitive way
target This should be the name of the library where the function can be found: this name should be suitable for use with the platform
native shared library loading routines (dlopen etc.), so you may want to check the manpages for that, too.
<dllentry> directive
This directive can be used to map a specific dll/function pair to a different library and also a different function name. It should appear
inside a dllmap element with only the dll attribute specified.
The dllentry element takes 3 attributes:
dll This is the target library, where the function can be found.
name This is the name of the function as it appears in the metadata: it is the name of the P/Invoke method.
target This is the name of the function to lookup instead of the name specified in the P/Invoke method.
Mapping based on operating system and cpu
Both the dllmap and the dllentry elements allow the following two attributes which make it easy to use a single configuration file and sup-
port multiple operating systems and architectures with different mapping requirements:
os This is the name of the operating system for which the mapping should be applied. Allowed values are: linux, osx, solaris, freebsd,
openbsd, netbsd, windows, aix, hpux.
cpu This is the name of the architecture for which the mapping should be applied. Allowed values are: x86, x86-64, sparc, ppc, s390,
s390x, arm, mips, alpha, hppa, ia64.
wordsize
This is the size of registers on the target architecture, it can be either 32 or 64.
The attribute value for both attributes can be a comma-separated list of the allowed values. Additionally, the first character may be a '!'
to reverse the meaning. An attribute value of "!windows,osx", for example, would mean that the entry is considered on all operating sys-
tems, except on Windows and OS X. No spaces are allowed in any part of the value.
Note that later entries will override the entries defined earlier in the file.
EXAMPLES
The following example maps references to the `cygwin1.dll' shared library to the `libc.so.6' file.
<configuration>
<dllmap dll="i:cygwin1.dll" target="libc.so.6"/>
</configuration>
The library name in the DllImport attribute is allowed to be in any case variant, like the following examples:
[DllImport ("cygwin1.dll")]
[DllImport ("Cygwin1.dll")]
[DllImport ("cygwiN1.Dll")]
This one maps the following C# method:
[DllImport ("libc")]
static extern void somefunction ();
to differentfunction in libdifferent.so , but to the same function in the library libanother.so when running under the Solaris and FreeBSD
operating systems.
<configuration>
<dllmap dll="libc">
<dllentry dll="libdifferent.so" name="somefunction" target="differentfunction" />
<dllentry os="solaris,freebsd" dll="libanother.so" name="somefunction" target="differentfunction" />
</dllmap>
</configuration>
SEE ALSO mono(1),monodis(1),mint(1)
Mono(Mono 1.0)