We recently ported an application over from IRIX to Linux, specifically SUSE Enterprise 11 and gcc (glibc 2.9). On IRIX there was a library trace utility call 'par' that allowed me to execute a C program and trace all the library calls it made, tracking how much time was spent in each call. I have been trying to find something similar for SUSE. I have found the ?trace programs (strace, ltrace, and ktrace) none of which is default installed on SUSE 11.Does any one have a suggestion on which ?trace to install and use or is there something else out there better?
I know there is a way to call winapi in runtime in windows. I want to ask how can I call a system call in gcc in runtime (when I don't know what it can be)? I don't mean syscall that I think is for calling only system calls and not library functions.
I've taken a project to work upon tracing of runtime activities on unix system into a log file. Like, to implement a program which will show the log of everything happened in past, including many requirements, like applications i used (with the time of access), kind of files/directories i opened, closed, created, deleted(with the time), etc.
I'm new to the linux world and its been quit sometime since i've done any programming. However, I'm writing a program which simply calculates the load average of a process. In doing this I need to use the uptime command for linux in a java program. I've done a little bit of searching on the net and it mentions this is possiable by using java runtime command. Unfortunatly though I have yet to find a working example of this. I've tried just simply reading the /proc/uptime file but I have no clue how to format the 2 numbers in seconds to make it the same as if you just typed in uptime in the linux command prompt.
I am trying to install the Matlab 7.5 compiled runtime for 64-bit Linux (MCRInstaller.75.glnxa64.bin) and keep getting a "No Java Runtime Environment(JRE) was found on this system." error message.
I understand the JRE is bundled with MCRInstaller and will self-compile/install. However, I don't have admin access, could this be the source of the problem? If so, how could I fix it (not sure how to direct it to install locally without going into the source code)?
I got around this error before, but stupid me didn't write down what I did and I forgot.
I am building an android, from the source using make command. I want to achieve simple logging while this make is happening.
I want to look/log for internal system calls that are being made after i do 'make' command in bash terminal. So that after the make is done, i can look and study the internal method/file calls made while make was happening. In this way i will come to know how the actual building process works.
I'm having touble with a java web application. It's online learning through SEEK's skillport website and it uses JRE runtime environment to display the content. I have java installed for Ubuntu as per java.com's website instructions, and I can launch my web application, however it only displays the left half of the screen. The other half is just not there. I'm running Ubuntu 10.10, all updates applied. I've also tried installing OpenJDK Runtime Environment (IcedTea6 1.9.2) but the same sypmtoms occur. Skillport's support centre only supports Suse Linux so they couldn't help me. I'm wondering if Java is the problem or maybe a browser issue? I've tried in Firefox as well as Google Chrome for linux - same result. Currently I'm having to boot into Windows so I can do my study. Everything else works fine in Ubuntu.
I tried a lot but I can' t enable java in firefox. I' ve installed java jre 1.6.20, I created symbolic shorcut to .mozilla/plugins directory but it doesn' t work. By the way /plugins directory wasn' esixt and i created it in .mozilla dir. I use opensuse 11.2 and firefox 3.6.3.
AMD 64-bit quad core Scientific Linux 6.0 Firefox 3.6 Firefox is complaining that I need a java plugin. Apparently, it has to be installed manually. I managed to download jre-6u25-linux-x64.bin and saved it on my desktop. Then a ran jre-6u25-linux-x64.bin and it created a directory on my desktop called jre-6.0_25. Within the directory there the following subdirectories: bin, javaws, lib, man, and plugin.
The output of dpkg --get-selections | grep java on Karmic Koala is ca-certificates-javainstall java-commoninstall libaccess-bridge-javainstall libaccess-bridge-java-jniinstall sun-java6-bininstall sun-java6-jreinstall tzdata-javainstall
Yet when I go to a site like keepvid.com and enter a valid URL I get: Error: Please click here to download Java. If you already have Java, please restart your browser and try again. It appears you do not have Java installed or it is disabled on your system. You can get Java here. If you are still having difficulty with Java, check here for installing Java, or here for detailed instructions on enabling Java in your browser.
I downloaded Java into my home folder instead of downloading it in my usr folder because it wouldn't let me(even when I was root user). It is present in my home folder with its own directory, but I am unsure how to use it. I downloaded Java to try to play Minecraft, but when I open then .jar file with the directory nothing happens. The actual directory contains the following
folders:bin,javaws,lib,man,plugin,copyright,licens e,a read me file, thirdpartylicensereadme, and a welcome.html file. I don't like running Minecraft with OpenJDK because it lags tremendously and it won't close, and I heard the "real Java" runs it much better.Did I download it incorrectly, if so can you tell me how?
I have tried to install and enable java, follow the instructions of this link:[URL] when I try to enable de java, for firefox, I can't linked de java with the browser, because I can't find de folder "plugins" on the path --> /lib/usr/lib/firefox).
Some files are generating in my Documents folder named hs_err_pid4214.log ........ different logs files are generated. I put the contents of one of them: Code: A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00007f1714b33e30, pid=4214, tid=139736470193920 JRE version: 6.0_24-b07 Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops) Problematic frame: C [libsvllx.so+0x82e30] _ZN26SvNumberFormatsSupplierObj18SetNumberFormatterEP17SvNumberFormatter+0x0 # If you would like to submit a bug report, please visit: [URL]. The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.
I'm trying to install Open Rocket : [URL]. I don't think I have java installed. I went to software center and tried to install "OpenJDK Java 6 runtime" and it says package dependencies cannot be resolved. I tried doing sudo apt-get install through terminal and it was dependent on a long list of things:
Just did a fresh install of 8.04 on wifes laptop (Inspiron 1521) as it has been a nightmare getting things to work with it's hardware and 8.04 seems to have the least issues. Did the first section of the Comprehensive Multimedia and Video Howto stickied at the top of this forum, then dled minecraft to test things out. Heres the terminal readout
My firefox can't auto install java runtime evnviroment. I have try manual download at http://java.com/en/download/linux_manual.jsp?locale=en&host=java.com (Linux x64), and I have set up it follow intruction. But it is not effect. My contribution: Centos release 5.6(Final) Molliza: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:126.96.36.199) Gecko/20110429 CentOS/3.6-1.el5.centos Firefox/3.6.17
I have installed IE6 [URL] On IE6 Adobe Flash Player, Adobe Shockwave Player 8.0 & Real Player 10.5 are working fine. When I tried to embed J2SE-Runtime Environment-1.5_17 by clicking 'Windows 98 & Windows ME Online'
---> 'open' ---> 'Modify' ---> 'Installation Completed' ---> 'Finish', i hoped that
everything will be fine. However, after closing the browser and restarting it I found that jre has not been installed on IE6. Incidentally the same thing occurred on debian-4.0r0-i386-netinstall.iso OS.
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?
The usual answer is debian's ldd(1) and I found broken things due to past lib abuses I previously hadn't understood I'd did - or rather hadn't realized because by looking it "looked ok and worked" - but i had problems. many i fixed.
After I ran a new script: it showed some i'd STILL missed after carefully re-doing /lib by hand (and using /var/lib/dpkg/info/libs.list)
I just made something that might be nice. seems to be the only thing that does it. but its' small and quick and has (tty/stdout) output still.
the had part isn't finding info, objdump(1) does that wonderfully : it's using it..
I am new to both linux and fortran programming. I am trying to read from an external file, but it gives this error message: Fortran runtime error: Bad integer for item 1 in list input Part of the code that has the problem is:
I'm writing an application with a plugin architecture and would like modify (specifically add to) the dynamic library search path while the main executable is running.
The plugin paths are not known until the application is running so I can't set LD_LIBRARY_PATH ahead of time.
My understanding (although I haven't tested it) is that the executable will only parse the LD_LIBRARY_PATH once, early on, so modifying this environment variable at runtime will have no effect.
(Note - on Windows the solution is to modify the PATH environment variable)
I know it's possible to specify the full path to load a dynamic library, and this would work if the plugin(s) only had a single library to load, but some of them will have a bunch of libraries with their own inter-dependencies, so I'd like the plugin folder(s) to get added to the search path to pick up the dependant libs.