Blackdown has Java 2 SE v1.4.2-rc1 available for AMD64 (aka x86_64).http://www.blackdown.org/java-linux/java2-status/jdk1.4-status.htmlHas anybody tried this and if so are there any speed advantages over sun's 32 bit VM?...
Comments (20) | Promote | Bookmark
Java/JNI & C/dll - ( help needed)Mon, 24 Sep 2007 10:50:00 GMTHello!beeing puzzled here.Ordered a 45 days working version of a speech recognizer, there is a dll that has to be shipped with my application - a dll that I have to accessto be able to utilize the resources in the speech engine.I am using Java and JSAPI, seems that I have to use JNI to access ...
Comments (12) | Promote | Bookmark
exec' a jar file HelpSat, 22 Sep 2007 05:44:00 GMTI want to use runtime exec to run a jar file. I am having trouble getting it to work. So I created a batch file, and inputed the commands in the file, and tried running it stand alone. and it runs just fine. start javaw -jar M:\proto\mafis\exe\ImageViewer.jar "c:\apictures\janedoe1.JPG" "Face" ...
Comments (8) | Promote | Bookmark
Microsoft's VM - compatibility issues?Wed, 19 Sep 2007 14:48:00 GMTJust wondering which flavour of Java is supported by the Microsoft Virtual Machine. I'd dearly like to use Javas 1.4 to develop a project of mine that uses regular expressions, but I need compatibility to be as broad as I can.What's the score? ...
Comments (6) | Promote | Bookmark
default GC/ empty survivor spaceThu, 15 Nov 2007 06:04:00 GMTI have a web application running on Solaris 8 using JDK 1.5.0_11 on a 64-bit OS. I am uncertain as to what GC algorithm I am using by default; my machine is a server-class machine, as defined by Sun, with 4 processors and 4G of RAM. I have read things that say that the concurrent mark sweep ...
Comments (5) | Promote | Bookmark
Memory leak running jdk1.5.0_04 on linux w/ tomcat 4.1Sun, 23 Sep 2007 22:31:00 GMTI've noticed that the memory used by my java process (measured with top) keeps growing until it consumes all available memory. It seems to stabilize for a while about an hour, then jumps by 2-20 megabytes at a time.I've used jconsole to monitor memory used by the application, both in heap ...
Comments (4) | Promote | Bookmark
JVM for 16-bit OSThu, 20 Sep 2007 09:22:00 GMTHi, allYour help is necessary for me, I search JVM for 16-bit OS and I cann't find it, I want to run the java program on DOS 6.22thanks,Betzalel...
Comments (3) | Promote | Bookmark
Display Default Heap SizeFri, 09 May 2008 23:14:00 GMTHi all -I've scoured the internet for this and can't find any helpfulinformation. Is there any way for the JVM to display the defaultmaximum heap size on a system? I can't seem to figure out what it isusing as its maximum value, if I don't manually override it with -Xmx.Any h...
Comments (3) | Promote | Bookmark
jvm.dll crashes IE when starting appletThu, 20 Sep 2007 20:57:00 GMTHi.Strange problem. Launching my test applet via a shortcut on the desktop works fine. When launching the applet by typing the url directly in the address bar of IE the browser crashes with the following error: "Microsoft Internet Explorer has encountered a problem and needs to close..". ...
Comments (3) | Promote | Bookmark
java.net.UnknownHostExceptionSun, 23 Sep 2007 05:57:00 GMTHi, I try to run simple program using socket:import java.io.*;import java.net.*;public class SocketTest{ public static void main(String[] args){ try{ Socket s = new Socket("time-A.timefreq.bldrdoc.gov",13); BufferedReader in = new BufferedReader(new InputStreamReader(s.getInputStream())); ...
Comments (3) | Promote | Bookmark
How To use JVM (not CreateJavaVM)?Tue, 18 Sep 2007 07:23:00 GMTUsing JNI, I want to call the java class from C..Generally, I use "JNI_CreateJavaVM" method to create JavaVM's instance.when it continually call C execution file, it use much memory owing to creation of much JavaVM's Instances.1. I want to know how to use before create instance without creats ...
Comments (2) | Promote | Bookmark
Tomcat & JVM Heap Memory configMon, 24 Sep 2007 08:32:00 GMTHello, I have installed Tomcat 4 on windos 2003 server, Tomcat starts like service, and I need to know how as I can change to the values of JVM heap, to give but memory.I want him to place the values "- Xms256m -- Xmx512m", but not in where I must do it. If modify catalina.bat or startup.bat ...
Comments (1) | Promote | Bookmark
Problem when throwing an exception in JNI CodeWed, 19 Sep 2007 09:50:00 GMTI am throwing an Exception in my JNI code like in the following code example: jclass excCls = env->FindClass ("java/lang/IllegalArgumentException");if (excCls != 0)env->ThrowNew(excCls, "thrown from native code"); When the exception occurs, the catch block in my java code is not reached ...
Comments (1) | Promote | Bookmark
Visual C++ 7 (.NET) & JNIThu, 20 Sep 2007 12:34:00 GMTHas anyone built a jni library using Visual C++ 7 (.NET)? I'm configuring a new laptop and just want to install Visual Studio 6 or Visual Studio .NET.Steve......
Comments (1) | Promote | Bookmark
how to get the exit controle of JVM when jvm is loaded using c++?Thu, 20 Sep 2007 17:40:00 GMTHi allthis is Krupanandam I am working for Globarena. Here I am working in java. In order to protect my java application I am using some native wraper. I am invoking the JVM using c++ but I am not getting the exit control. Before exiting I want to do some clean up so please any one can help me. ...
Comments (1) | Promote | Bookmark
using socket created in C language for communication in Java or vice versaWed, 19 Sep 2007 11:45:00 GMTHi,Is it possible to create a socket in C/C++ and use that socket in Java to read the socket stream? Even vice versa would do. Basically what I am trying to do is this:1. Create a socket in C/C++ client program which connects to another C++ server. 2. Validate the user (client). This step ...
Comments (1) | Promote | Bookmark
JNI methods in C++Wed, 19 Sep 2007 18:21:00 GMTHiI would like to know more about java's JNI methods. where is a complete list of them ? for example how do i convert primitives in C++ to jint , jdouble , jintArray and vice-versa etc. ?thanks,Padmanabh....
Comments (1) | Promote | Bookmark
about kaffe jvm installation errorTue, 25 Sep 2007 00:24:00 GMThi, while installing kaffe jvm on linux platform :'./configure ' gives following error : extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);checking for X... noconfigure: error: GTK+ peers requested but no X library availableconfigure: ...
Comments (1) | Promote | Bookmark
Blank AppletMon, 24 Sep 2007 14:35:00 GMTHello All,I've just changed my monitor, and at the same time my screen resolution, and since then, I can't see any java 2 applet anymore.I have 2 screens on my computer, when I switch the window on the smaller screen, after refreshing the app, it appears correctly, if I switch it back to my ...
Comments (1) | Promote | Bookmark
IE 5 & APPLETSTue, 18 Sep 2007 15:48:00 GMTAfter installing J2SE applets will not appear in Internet Explorer 5. I also installed Netbeans and then uninstalled it.Anyone know how to solve the problem.thanks in advance ...
Comments (1) | Promote | Bookmark
An unexpected exception has been detected in native code outside the VM.Sun, 23 Sep 2007 07:19:00 GMTJava HELP!I have been getting this JVM issue with JDK1.4.2_06 (Windows XP) on a regular basis. This is quite irritating as we have upgraded our software to jdk1.4.2_06 an committed to client.Will appreciate any help or solution to avoid this.Not sure if Sun is aware of this issue.thnxSanAn ...
Comments (1) | Promote | Bookmark
JVM DocumentationSat, 22 Sep 2007 01:52:00 GMTHi All,Anyone know where I can get the latest documentation on the JVM. I am trying to understand better what I see when I use jvmstat to monitor the Heaps, classloader and compiler of Jre 1.4.2_03. I have found the performance tuning literature for the jvm here at Sun but want to know more ...
Comments (1) | Promote | Bookmark
JDK on UML (user mode linux)Sun, 23 Sep 2007 23:55:00 GMTHiI'm trying to install jdk1.5.0_04 on a UML-server. Is there a known problem with this? How do i solve it? :)this is the output from ./jdk-1_5_0_04-linux-i586.bin:Creating jdk1.5.0_04/jre/lib/javaws.jarCreating jdk1.5.0_04/jre/lib/deploy.jar./blarg: line 658: 7579 Aborted$javahome/bin/java ...
Comments (1) | Promote | Bookmark
Using C program as the driver -Help!Sat, 22 Sep 2007 04:15:00 GMTNormally, Java is used only as an interface to a C program. This means that a java program is the driver However I want to use a C program to access code written in java. I want to execute a C program from the command line, that has JNI functions in it. Something like this :main(){ }JNIEXPORT ...
Comments (1) | Promote | Bookmark
Increasing stack sizeTue, 25 Sep 2007 01:07:00 GMTI'm using an implementation of a variation on flood fill, and for the recursion depths needed, the default stack size isn't nearly enough. (For some reason, the stack size on Linux is plenty, but not on Windows, even though they're supposed to be the same.)I've tried using the stack size VM ...
Comments (1) | Promote | Bookmark
How to convert void pointer from c/c++ to java Object ?Thu, 20 Sep 2007 03:12:00 GMTI encountered great difficulties in JNI.I have a java class, public class GeneralName{public int nametype = 0;public Object namevalue = null;public GeneralName() {}public GeneralName(GeneralName gname){ setGeneralName(gname.nametype, gname.namevalue);}public void setGeneralName(int nType, ...
Comments (1) | Promote | Bookmark
How to use an array as ADTWed, 19 Sep 2007 20:44:00 GMTI Just start learning java and my professor gave me very tough assignment and I am unable to understand where to start and what to do.He asked me to create an array of type ITEM With WAREHOUSE object.In this there are three objects "Warehouse", "Item" and "Main"WAREHOUSE Object Contain ...
Comments (1) | Promote | Bookmark
CPU TimeTue, 25 Sep 2007 11:31:00 GMTHi All,I need equivalent of jvmpi's GetCurrentThreadCpuTime() in AIX to find CPU time.As GetCurrentThreadCpuTime() cause performance degradation in AIx i'm trying to use JNI apprach in AIX using C language.Please help me if anyone knows the system call or library routine to find this.Thank u ...
Comments (0) | Promote | Bookmark
How to configure datasource in JBOSS?Mon, 24 Sep 2007 03:34:00 GMTHi All,I want to configure datasource in JBOSS for oracle database? The constraints are 1) The password should be in the encrypted format in the configuration file because I dont want to reveal my password to anyone. How can we acheive this. Can I do the encryption at the time of build(If yes ...
Comments (0) | Promote | Bookmark
VM to crash with JFileChooser within Applet?Wed, 14 Nov 2007 22:37:00 GMTI've been working with an upload applet and it seems like the JFileChooser is crashing the VM. It's a little weird because the JFileChooser will work flawlessly the initial time that you boot up the applet. But, if you happen to return to the same applet later, the JFileChooser freezes and I ...
Hi All,I need equivalent of jvmpi's GetCurrentThreadCpuTime() in AIX to find CPU time.As GetCurrentThreadCpuTime() cause performance degradation in AIx i'm trying to use JNI apprach in AIX using C language.Please help me if anyone knows the system call or library routine to find this.Thank u ...
Hi All,I want to configure datasource in JBOSS for oracle database? The constraints are 1) The password should be in the encrypted format in the configuration file because I dont want to reveal my password to anyone. How can we acheive this. Can I do the encryption at the time of build(If yes ...
I've been working with an upload applet and it seems like the JFileChooser is crashing the VM. It's a little weird because the JFileChooser will work flawlessly the initial time that you boot up the applet. But, if you happen to return to the same applet later, the JFileChooser freezes and I ...
After installing J2SE applets will not appear in Internet Explorer 5. I also installed Netbeans and then uninstalled it.Anyone know how to solve the problem.thanks in advance ...
Java HELP!I have been getting this JVM issue with JDK1.4.2_06 (Windows XP) on a regular basis. This is quite irritating as we have upgraded our software to jdk1.4.2_06 an committed to client.Will appreciate any help or solution to avoid this.Not sure if Sun is aware of this issue.thnxSanAn ...
Hi All,Anyone know where I can get the latest documentation on the JVM. I am trying to understand better what I see when I use jvmstat to monitor the Heaps, classloader and compiler of Jre 1.4.2_03. I have found the performance tuning literature for the jvm here at Sun but want to know more ...
HiI'm trying to install jdk1.5.0_04 on a UML-server. Is there a known problem with this? How do i solve it? :)this is the output from ./jdk-1_5_0_04-linux-i586.bin:Creating jdk1.5.0_04/jre/lib/javaws.jarCreating jdk1.5.0_04/jre/lib/deploy.jar./blarg: line 658: 7579 Aborted$javahome/bin/java ...
Normally, Java is used only as an interface to a C program. This means that a java program is the driver However I want to use a C program to access code written in java. I want to execute a C program from the command line, that has JNI functions in it. Something like this :main(){ }JNIEXPORT ...
I'm using an implementation of a variation on flood fill, and for the recursion depths needed, the default stack size isn't nearly enough. (For some reason, the stack size on Linux is plenty, but not on Windows, even though they're supposed to be the same.)I've tried using the stack size VM ...
I encountered great difficulties in JNI.I have a java class, public class GeneralName{public int nametype = 0;public Object namevalue = null;public GeneralName() {}public GeneralName(GeneralName gname){ setGeneralName(gname.nametype, gname.namevalue);}public void setGeneralName(int nType, ...