Hi,
I have a list of binaries written in java, ada,C, python and I want to execute them.
How to do that ?
Is there any JVM binding to those languages ?
Thanks for your answers
I would like to add the ability for users to telnet into my app where by they can type in commands etc. I would like a simple Java Telnet server whereby i can provide the authentication strategy.
Is there a default timeout for threads waiting on a synchronised method in Java? Some threads in my app are not completing as expected. Is there anyway to check whether threads have died as a result of timeouts?
I just want to play a very simple, straight forward note by giving my computer a certain frequency as an integer, and from there I can figure out how to make it play the note longer or shorter. It does not necessarily have to come out of the actual sound card - if it's generated and output by the internal speaker that's okay.
I looked at the midi libraries that java has included, and they are way more than what I want to do. This just needs to be very basic.
My multithreaded Java program crashes because it runs out of heap space and I don't think it should. Assuming the culprit is unintentional object retention, what's a good free tool to investigate what objects are being unintentionally retained?
My IDE is Eclipse.
I want to access a MySQL database from Java, but remote connection is disabled by the host.
So I will send the data to PHP and then PHP will locally access the database.
The data is pretty big (about 2~4kb)
I've never done this before.
What should I do?
Have a Map which contains objects that I want to keep in sync across multiple servers, such that if objects in the map are created, deleted, or modified - this is reflected immediately (ie. within a second or two) across all servers, in a way that can potentially scale up to tens of servers.
Is there a lightweight open source Java tool that can do something like this? I'm aware of Terracotta but it is rather heavy weight for what I need.
Hi Folks,
I created an java apllication. i created the Excecutable jar and Exe files for my application. But it cant be run at a system which not installed computer. How to do it? Is there any possible to configure the JRE in the EXEcutable jar or Exe file itself? Any Idea?
what java method takes an int and returns +1 or -1? the criteria for this is weather or not the int is positive or negative. I looked through the documentation but i'm bad at reading it and i can't find it. I know i've seen it somewhere though.
I'm designing a web application.
I was wondering if it was feasible to design a php front end (using some php framework e.g. CakePHP), which stores and retrieves data to display to the user.
Then develop a java backend which listens to the database for changes, and depending on what was changed, performs some actions and updates the database.
Any thoughts on this type of implementation would be appreciated.
I want to cut the svn/cvs recods in pieces and then put in to database. After that i can make use of those data easily.
Any java function can get out the record? and How?
If possible, please provide a example. Thank you.
I asked a question about Garbage Collection in Java in this topic.
But the answer I got, gave me another question.
Someone mentioned that classes can be collected by the garbage collector too.
Is this true?
And if it is true, how does this work?
I need to capture portion of user screen usign java applet. It is easy to do using Robot class but I'd like user to select which portion of screen to capture in draggy-droppy way.
So I need to draw rectangular frame over users desktop and response when user resizes it.
How could I do it? Thnx.
I have two pieces of text. I would like to make a word-based diff between them (like whe unix utility wdiff does) but with more information in the output (I mean, the character's posizion where the added/delited word starts).
I need to do this in Java, so a simple output of the differences (like wdiff) doesn't suite for me: I would like to manipulate objects representing differences.
I was wondering how Java sorts items in the Map (HashMap or Hashtable) when they are added. Are the keys sorted by the hashcode, memory reference or by allocation precedence...?
It's because I've noticed same pairs in the Map are not always sorted in the same order
Why are there not more opensource easy to use charting libraries for Java?. The only successful opensource project in this area seems to be jfreechart, and it doesn't even have any documentation or examples available.
Hello, I am developing a new Java Desktop app. Something like a media player. I want to load most of the resources in the background when the computer starts up. But the users can turn this option off form within the app or using some other utility. So, what I want to do is if a ban instance of the app is already running and the user starts the app again then I can communicate with the already running instance so that it can launch a new window?
@Override
public boolean equals( Object otherObject )
is not allowed in Java for an Enum, since the method equals(Object x) is defined as final in Enum. Why is this so?
I cannot thing of any use case which would require overriding equals(Object) for Enum. I'm just curious to know the reasoning behind this behavior.
hello ,
I'm a little bit confused about it .
it seems that it is integrated with Google web kit tools to build Google web apps .
but can i use to build a Gui for standard java app , (like netbeans) ??
i know it sounds silly but i spend a lot of time to know if is it possible or not but i couldn't know.
notice that i am a mac user , ( WindowBuilder on mac seems not fully supported ) .
thanks in advance .