I'd like to learn how, or if its possible at all to programmaticly interact with a black-box java application(by reading its data). Has there been any previous research/work on doing this sort of thing?
I'd imagine that running on a JVM significantly complicates things.
@anon: Doing this with any JVM is relevant. Do you have to kno...
How do I send a POSIX signal from within the JVM? (in Java or Clojure)
I never thought this would be an issue until I tried googling it — there is lots of information about handling signals, but nothing about sending them.
Short of using the JNI or calling the shell to execute "kill", is there any other way to send a signal to a PID?
...
Hi Guys,
I have a situation where I need to induce asynchronous behavior in a synchronous application.
To elaborate, there is a monolithic c++ application which synchronously produces pricing for complex derivative products. This c++ app comes with a java wrapper which my app uses to interact with it.
Current Design
My APP <------> J...
I have a server application that runs on 64-bit Ubuntu server with 4Gb RAM.
When I set JVM (We use Sun JVM 1.6) configuration parameters like this: -Xms1024m -Xmx2560m, I see a strange memory allocation when starting the application (It runs on Tomcat 6).
Ubuntu's "top" command shows that the virtual memory size is almost 3,2Gb. I don't ...
Hi I noticed that different tools for monitoring JVM require that the process will be java.exe in the taskbar. Its process id is supplied to them and then statistics regarding garbage collection and etc are returned. When running tomcat as a service, there is no a process named jave.exe but it is tomcat6.exe.
How can I get statistics reg...
Imagine a setup of 6-7 servers all identical with identical
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (fedora-36.b18.fc11-i386)
OpenJDK Server VM (build 14.0-b16, mixed mode)
each running a program (memory and CPU intensive) for hours even days, completing successfully many times (getting statistical data that ...
Hi,
Our customer wants us to ship his application with an embedded JVM. We tried to convince him otherwise but had no luck.
Now, here is the way we are contemplating taking. We want to take the Apache Harmony VM and libraries. We would then strip everything we don't need and ship the application with the bare minimum in terms of libra...
Our application is using initialization code that depends on the order static code is executed and I'm wondering if this order will be consistent across all JVMs.
Here is a sample of what I mean:
public class Main {
static String staticVar = "init_value";
public static void main(String[] args) {
System.out.println(A...
I am talking about the major implementation platform of these platforms.
...
Aside from Websphere, the Sun/Oracle JVM seems to be near-ubiquitous. Do people have much experience of other JVM implementations, such as that in OpenJDK or IBM's JVM?
Any pitfalls? Performance differences? Bugs?
...
I have been developing a small Java utility that uses two frameworks: Encog and Jetty to provide neural network functionality for a website.
The code is 'finished' in that it does everything it needs to do, but I have some problems with memory usage. When running on my development machine the memory usage seems to fluctuate between abou...
At the moment Scala runs only on the JVM, with an outdated implementation for the CLR.
But there are some voices at the moment, that Microsoft is interested funding an up-to-date Scala port for .NET.
Considering the lack of any plan or oversight at Oracle's side what to do with Java/the JVM/the ecosystem, how can a Scala developer be p...
What do you think? Will the JVM ever get support for generics?
Quite likely that would not only require substantial changes to the JVM, but also to the class file format,
but languages running on the VM would greatly benefit from it.
Edit: The Java language actually supports some sort of generics as a compile time feature, which adds s...
And then add a new path to it?
My box is Vista Pro and the java installation is JDK 5.0 with updater 1.
Thanks.
...
Hello,
I would like to know if there is an equivalent of the excellent Java JVisualVM (included with JDK, the command is "jvisualvm") on the DotNet platform ?
JVisualVM is a great tool that allows developers and admins to have really useful monitoring on any running Java application, here is some features that it has :
Graphical view...
I need a debugger that watches jvm running a BlackBerry application on device simulator (the same way as OllyDbg is used to debug Windows applications.) Any recommends?
...
I've read a blog post a while ago claiming a Java application ran better when it was allowed to utilize a single cpu in a multicore machine: http://mailinator.blogspot.com/2010/02/how-i-sped-up-my-server-by-factor-of-6.html
What reasons could there be for a Java application, running on multicore machines to run much slower than on a sin...
Hi all, I have installed windows 7 x64, therefore i have a confusion whether i have to install JDK x64 or JDK x86? please help me, thank you
...
Do they use something like Mono's PInvoke? Or is it more like internal calls registered before the runtime is started? Does java have a base library for handling native calls like mscorlib.dll? If I want to invoke a JVM in C code will it libraries look for the .so/.dll files? Does it make a difference to Java standard libraries if I stat...
I'm writing a network app, where each Client has a Singleton ClientManager.
For testing, I would like to create several clients (each in their own VM / process) without starting the program by hand n-times.
The following two questions on stackoverflow already describe how-to do that:
Is this really the best way to start a second JVM f...