| Thread | Last Post | Replies |
|
| C++/JNI | 12 Oct 2005 01:36 GMT | 3 |
I have a DLL which is built in C++. This C++ DLL has a JNI Interface and the methods are called from Java. I want to know how to define the default / Optional parameters in C++ so that they can be called from Java.
|
| To get computer name | 12 Oct 2005 01:34 GMT | 2 |
Is there anyway, I can get the computer name. I know well of this program:- public static String getComputerName(){ try{ return InetAddress.getLocalHost().getHostName();
|
| Strings and ints | 11 Oct 2005 23:35 GMT | 5 |
Is there anyway to read a number in from a file or similar as a String and use it as an int variable i.e. String s = "123"; int i = s;
|
| Runtime.exec() finish time | 11 Oct 2005 23:33 GMT | 5 |
Dear java programmers, I don't really understand how this Runtime.getRuntime.exec(...) execution command works. i would like to know if the execution has finished (at least knowing the status) in order to continue my
|
| Why and when do I need to use clone? | 11 Oct 2005 20:49 GMT | 2 |
I need to make copies for a class A. Do I have to implement Cloneable and use clone? Can I just make a method called copy, which returns A, and use it to do copy? Thanks!
|
| How many client sockets bind to a ServerSocket ? | 11 Oct 2005 17:26 GMT | 7 |
I'm Hee-Chul Moon from South Korea. I am developing multi-file(about 100~10000 files) sending/receiving system in Java. I wonder how many client sockets can bind to a ServerSocket.
|
| jsps, images and a catch-all in the web.xml file | 11 Oct 2005 16:02 GMT | 2 |
I'm writing a JSP/Servlet web-app for transforming mnemonics into URLs, similar to what http://tinyurl.com does. In other words, if the mnemonic "xyz" points to http://google.com, then entering http://example.com/xyz (where example.com is my website) would
|
| Integrating Java with CVS | 11 Oct 2005 12:06 GMT | 2 |
I'm planning a Java tool that handles some calls to CVS. How do software tools "typically" integrate with CVS? Is it just a matter of executing the cvs command (say, via Runtime.exec()) and then capturing and parsing the output? Or is there a neater way of
|
| newbie: j2me - NullPointerException problems | 11 Oct 2005 11:40 GMT | 2 |
J2ME Wireless Toolkit 2.2 JDK 5 When I run this midlet (see source code below) it crashes when I select the "Molar Converter" menu item
|
| Java running for ever on Linux | 11 Oct 2005 11:39 GMT | 7 |
Dear Java programmers, I would like to know if it is possible to run Java forever in background (something like java.... & ) for exemple a Server. Let's suppose a Java Swing...
|
| Shalloway and Trott's solution to double checked locking? | 11 Oct 2005 09:27 GMT | 7 |
Shalloway and Trott, in their book Design Patterns Explained, 2nd edition, published what they claim to be a fix for the broken Double-Checked Locking Pattern. Would the following truly be a valid means of
|
| Multi-file upload with Spring and/or JSF? | 11 Oct 2005 08:33 GMT | 5 |
I am building a web in which I'd like to be able to upload various types of files -- PDF, MP3, etc. I would like the added functionality of being able to upload an entire cd without having to upload all the tracks. So if I select a directory with 10 songs it will upload all 10
|
| PLEASE HELP - How do get started with JPDA | 11 Oct 2005 06:52 GMT | 1 |
Could some Java guru please help me? I was wondering if there is any good documentation available anywhere to get me started with JPDA - the Java Platform Debugging Architecture? I have never used this library and it would be helpful to know how to get started on it properly.
|
| problem with classpath under windows | 11 Oct 2005 06:46 GMT | 2 |
In my Java application I set a classpath which is exremly long. As I know there are some limitations on windows regarding the length of a line. The result is, that I get an IOExpection. Does anybody know, if it is possible to increase the parameter of the
|
| Is it correct about File.createNewFile()? | 11 Oct 2005 06:42 GMT | 5 |
JDK : 5.0 update 5 OS : MS Windows XP ================================================ public class MainFrame {
|