IE 5 & APPLETS

202 byte By funktastic at 2007-9-26 15:47:53
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

JNI Problem.- UnsatisfiedLinkError

670 byte By mperezg1 at 2007-9-26 15:48:58
Hello:I posted this question in a wrong forum.I am working with C and JNI in Solaris. I have no problem with simple programs. When I work with sockets in C. I have an error when I run the program in the moment I make a reference to a socket function. If I do:nm libconexion.so | grep UNDEFI find ...

Each Enterprise can own a Internet Desktop

1743 byte By annstanlam at 2007-9-26 15:50:07
I am IT guy and I am creating a platform ( a roaming desktop) based on internet environment. Right now I use Novell Server as backend to provide file storage place. My desktop platform just like a graphical terminal and enable the user to bring up this terminal by a browser. That means no ...

Urgent:j2se-1.3- Unable to allocate heap more than 2GB on Solaris 2.6

348 byte By seshadri_sampath at 2007-9-26 15:51:34
Hi,Im trying to execute a simple Hello World program using the following parameters :/opt/j2se-1.3.1/bin/java -ms500m -mx2500m testingThe environment is Solaris 2.6 ( SunOs 5.6) . Also increased the size of the data segment limit to more than 3 Gig. Any suggestions would be greatly ...

Native method problem

184 byte By bsssrinivas at 2007-9-26 15:52:40
I have used a native method to stop the text echoing from command line. But If I press Ctrl+C,the total terminal hangs!! What could be the problem for this?

How to restart a JVM

4175 byte By cdore at 2007-9-26 15:53:51
Hi,I am using a JVM as a companion aof a big C program . Thus I start the JVM myself, using JNI_CreateJavaVM.It is a GUI Win2K app, using some JDK1.3 or mosre recent, from SUN or IBM. I would like to able to restart the JVM without restarting my app (for instance, to run it in debug mode, thus ...

JVM memory deallocation problem on Linux

1460 byte By ernestf at 2007-9-26 15:54:03
Hi,I am a developer of on-line stock transaction engine, which also capture realtime quote / index data from stock exchanges and update to user frontend. All components are developed using Java and run under JVM 1.3.1_01. I have two separate Linux servers to run all the backend process and ...

What is virtual limit of Java?

910 byte By jschell at 2007-9-26 15:56:18
I hadn't actually tested the memory limitations of the jvm before and I was taking the word of others (and I didn't have access to Sun boxes always either.) So I decided to test the limits today.Windows:-NT-1.0 gig memory limit (512 physical, 512 virtual)-Jdk build 1.3.1-b24Using only option ...

HotSpot Virtual Machine Error : 11 os.cpp, 722

2192 byte By djss at 2007-9-26 15:56:38
Unexpected Signal : 11 occurred at PC=0xc27fdb88Function name=allocate_instance__13instanceKlassFP6ThreadLibrary=/opt/java1.3/bin/../jre/lib/PA_RISC2.0/server/libjvm.sl Current Java thread:"main" prio=4 tid=0x00010300 nid=1 lwp_id=19829 runnable [0x7f7f6000..0x7f7f45d8]Dynamic libraries: ...

C++ wrapper code

333 byte By preetiramesh at 2007-9-26 15:59:23
Hi. We want to access an existing dll through java. Since we cannot make any modifications in the dll, we are writing a C++ wrapper class. Problem is - I am absolutely new to C++, so could anyone please direct me to some example code that I can study, to write this C++ wrapper. Thanks in ...

How to split a string having string as delimiter instude of char?

1034 byte By msubbareddy at 2007-9-26 15:59:52
Hello Gurus,I want to split the string and work on each split string.The following code will do, but not exactly.It's split into morethan three strings, where coma find.But I want to split it using #,# as delimiter.Here is my code://File fileData = new File("myfile.txt");// This will have coma ...

JNI_CreateJavaVM returns -5.

102 byte By josegm at 2007-9-26 16:00:19
HiJNI_CreateJavaVM returns -5.What does it means?Thanks in advanced

Memory mgmt and '= null;'

666 byte By safir at 2007-9-26 16:07:05
Hi,i have a loop that needs to minimize memory usage, in which i use variables:Matcher m;String line;My question is do i have to say:m = null;line = null;on every iteration of the loop to reclaim memory in Java? In C/C++, i'd have to use delete i believe. But since Java manages memory itself, ...

help about the jvm!

322 byte By epsonstrong at 2007-9-26 16:07:07
Hi,I'm doing some embedded system work,and I have to write or transplant a jvm,but I have little knowledge about this. Can somebody give me an illumination about how to write a jvm,and where can I find some source code of jvm in Sun's website or other place.Any help would be welcome. Thanks. ...

while creating JVM returning -1...it's very urgent help me

986 byte By GaliS at 2007-9-26 16:07:26
Hi,I have one small c program which is creating JVM for calling java methods in it...res=JNI_CreateJavaVM(&jvm,(void **)&env,&vm_args);this returning always -1.....the environment is unixware 7,jdk1.2.2,cc compilarthe path of LD_LIBRARY_PATH ...

Where can I download the sun's jvm source code

76 byte By epsonstrong at 2007-9-26 16:07:34
Where can I download the sun's jvm source code?Thanks.

Killing a Process

509 byte By ravi_tippa at 2007-9-26 16:10:38
Iam trying to run a java thread application thru theRuntime.exec method.The application has to hit the database randomly and updates a field.The problem iswhen the process is launched iam able to see the list in Taskmanager and when destroyed the process is out of the list.My problem is when ...

Applet is not working in IE 5.0

338 byte By m-krass at 2007-9-26 16:15:39
Hello, I've programmend a Applet which uses only Java 1.1 programming but it doesn't work in IE 5.0 with Opera 5.02 it works fine . Now somebody told me that I either need to install a plugin in IE 5.0 or look for a Java 1.1 Compiler. Is this wright ? Where can I find this old Compiler ? ...

HotSpot setup problem

409 byte By kanghoe at 2007-9-26 16:15:54
I tried to install the Hotspot server VM on my Windows XP where I am working with J2SE version 1.3.1-02. But setup program refuses to continue sayting that the VM should be installed upon Java v1.2.2 or v1.3. Is it because the J2SE version I'm using is not strictly 1.3?Also, does J2SE ...

Embedding JVM on Win2k JDK 1.3

4598 byte By RummeL at 2007-9-26 16:18:18
First off, i've searched around and read this forum without success - so please don't think i'm asking what everyone else is without trying first :)Basically, I would like to embed a JVM in my c/c++ application using MS VC++ on Win2k. I've tried many different things, different variations ...

C program accessing a hashtable

2472 byte By RonMasters at 2007-9-26 16:18:37
Problem: I need to modify legacy C code to call a JNI method which will return a hashtable that it will build from a weblogic server.I have a java method that creates a hashtable and returns it (a pointer to it) to my C code.I can not find any JNI function to extract the key/value pairs from ...

bytecode verification

884 byte By zrakamar at 2007-9-26 16:20:19
HelloI need an explanation regarding verification of, for instance, getfield instruction.JVM Spec. 2nd Edition on page 248 says:"If the field is protected, and it is either a member of the current class or a member of a superclass of the current class, then the class of objectref(*) must be ...

Can I Use JNI

451 byte By jvenureddy at 2007-9-26 16:20:34
Hi Java Gurus,we are Developing a realtime Telecom Application ,It is a C++ Application , We have to finalize Technology used between Application and database. we have to Access some API To Access DATABASE ,those API will be in JAVA..Which will be beter option , shall we go for CORBA or JNI?I ...

JVM Error

1951 byte By pclarkex at 2007-9-26 16:21:03
I'm trying to run the jvm 1.3.1_01 in -server mode on a unix box to run a multi-threaded server but the jvm either crashes or uses increasing amounts of CPU time.Does anyone have any ideas for a solution?When the JVM crashes I get the following error:Unexpected Signal : 10 occurred at ...

JVM Error

1969 byte By pclarkex at 2007-9-26 16:21:04
I'm trying to run the jvm 1.3.1_01 in -server mode on a unix box to run a multi-threaded server but the jvm either crashes or uses increasing amounts of CPU time.Does anyone have any ideas for a solution?When the JVM crashes I get the following error:Unexpected Signal : 10 occurred at ...

Defining C++ compound data types in Java

605 byte By transience at 2007-9-26 16:21:43
Hi there,In the C++ DLL file I have, the author of the file actually defined complex data types using TYPEDEF & STRUCT keywords. These compound data types were passed as arguments, by referencing (pointers) in the functions of the DLL. So, how do I define all these compound data types in ...

Input for Aplett in 1.1

205 byte By m-krass at 2007-9-26 16:22:10
Hello,does anyone know a simple way to get an user input (double) in a applet which runs under 1.1 (IE 5) ?I would like that the users enters a parameter for the Applet.

Calling jar inside dll methods

246 byte By jrsosa at 2007-9-26 16:23:14
Hello,Can anyone give me a brief explanation on how to use the methods of a dll (made on c++) from java?I would like to put the dll inside the jar/cab file along with the java classes.best regardsJonathan

question using jni

1702 byte By duyong at 2007-9-26 16:24:06
Hi,This is the first time I use jni and I encountered some problem when trying to accessing instance fields. My source code is as follows:java side:class C {int j;private native void f();static { System.loadLibrary("C"); }public static void main(String[] args){C c = new C();c.j = ...

JVM

207 byte By lexus_3_in at 2007-9-26 16:24:51
plz clarify these doubts of mine :- 1. how do i tap the Jvm ?2. how do i call a java program in visual basic?3. how do i create a java application (.exe) using java?

JVM and JRE

138 byte By zadamjee at 2007-9-26 16:25:24
HI,Can any one tell me what is the difference between Java Virtual Machine and Java Runtime EnvironmentThanks.

JAVA IO - How to write data (double, float) to a text file

496 byte By alexmarr at 2007-9-26 16:27:00
I am writing an application that after it runs it writes some results to a log file. It needs to write values of data type double and float to this log file. The log file needs to be in a human-readable text form not in an internal binary format. How do I do this?I tried connecting an ...

How to use the DLLs which created from c++ in Java?

68 byte By skyyjck at 2007-9-26 16:27:13
And How to use the DLLs which created from JNI in C++?

JNI and SWING problems...

499 byte By dagot at 2007-9-26 16:28:00
Hi.I have this little big problem.Have a application in Java. This apps calls a native method in C.The problem is, while the native method is running i don't have any control over the application. It does not responde.For example, if the application windows loses focus while the native method ...

Trouble with two DLLs

959 byte By dottore76 at 2007-9-26 16:28:11
Hi all!I compiled two DLLs with exactly the same signatures but different functions in the methods. When I execute my application only the first DLL is loaded and I can only use the functions of this DLL.The java code:public class Dienst{ private native String GetModulNameDLL(); public ...

Calling a Java Method from a native call back function

400 byte By jlrando at 2007-9-26 16:28:50
I have a call back function in my C++ project. This function should fire a Java event to notify something. I can save a global reference to the object which must receive the notification, but I have no "thread environment" to call the notification method. How can I get a valid "thread ...

How to use JNI to map C++ Class and Java Class

149 byte By zjpx at 2007-9-26 16:29:20
I have known how to call or map a C funtion into Java method through JNI. But, could we use the C++ class in a DLL in Java through JNI?

Please help !!! problem reloading classses in an applet

420 byte By skittoes at 2007-9-26 16:31:47
I would like to know is it possible to dynamically load the classes in applet. What i mean is if the applet has already loaded class A, can I load it again from the server instead of using the cache copy in the browser in the client machine? If it is possible to be done, how can it be done? Can ...

JVM Memory Limit on Linux

436 byte By fullcircle at 2007-9-26 16:33:42
I am experiencing no joy with getting the JVM to allocate a heap size of over 2G in my RedHat Linux server. My box has 4G RAM and i'd like to do java -mx4000M but all I get is "Could not reserve enough space for object heap". Anyone got a workarround (I assume its a 2^32 issue) and will it be ...

java.lang.String Paradox

1504 byte By DPP at 2007-9-26 16:36:02
I know there must be a very simple answer to this question, but for the life of me I can not find it. I was recently examining some of the Java class libraries. I came across something in the java.lang.String class that I found perplexing. In the String class there is a private instance ...

female java developers

133 byte By sky at 2007-9-26 16:36:53
Hi.. this is just a causal message... BTW any female developers in this forum? just hoping to make some friends here...

Setting up a Visual C++ project for JNI

329 byte By hspeijer at 2007-9-26 16:40:40
Hi there, I find myself in the situation where I have to access java classes from a Visual C++ project. I tried compiling the invoke.c from the JNI tutorial but I get horrible error messages. Does anybody know of sample visual C++ projects that call java methods through JNI?Thanks,Hans Speijer ...

Windows handle from C++ question

373 byte By katarn at 2007-9-26 16:41:09
Hi,I am showing a frame/panel/ (non canvas) Java component from a C++ application.I have been looking for information about this but I found no information about obtaining the window handle and/or hdc of the opened window...I need to embed this frame/panel in a "Windows window" :-)Is it ...

How to determine HEAP MIN and MAX?

570 byte By bowersjeff at 2007-9-26 16:42:25
When you run a java process under AIX you can specify a parameter that looks like this:-verbose:gcIt shows all activity around the expansion and compression of the heap as objects are created and garbage collected. The problem I am having now is exactly how to read it all. Some of it is obvious ...

Interpreting verbose:gc Output

579 byte By bowersjeff at 2007-9-26 16:42:27
When you run a java process under AIX you can specify a parameter that looks like this:-verbose:gcIt shows all activity around the expansion and compression of the heap as objects are created and garbage collected. The problem I am having now is exactly how to read it all. Some of it is ...

Java calling .net dll

150 byte By asantosa at 2007-9-26 16:43:37
with the coming of ms .net, how will java handle interoperability with .net library (if we want to call a .net library from java code) ?

Can't run java at all

886 byte By Decaff at 2007-9-26 16:44:34
Hello!I have a 600 megahertz Intel Pentium III machine running Windows 98 SE. I use the following browsers: Netscape 4.79, 6.2 and internet explorer 6.I was able to run java applications on my computer very well. I purchased a program to make web buttons. The program worked very well for a time ...

AMD 1800 and Java... as in DO NOT WORK

637 byte By jgibbons at 2007-9-26 16:45:19
Hi,It appears that many Java GUI apps simply will not work on my new AMD 1800 processor. Many server side bits of java are fine, and some GUI apps work. But many die in myriad mysterious ways. Falling into broken heaps either at the start or some random time later.I've tried JDK118_008 with ...

Profiling alters GC behaviour

1214 byte By dstrang at 2007-9-26 16:46:08
HiI have been doing some profiling (well, more like memory debugging really) of a J2EE application and I've noticed something strange.When I start the application server up 'standalone' with the -verbose:gc option I get a lot of output showing (mainly) minor collections with the occasional ...

Client VM warning: GenCollectedHeap (out of memory?)

1263 byte By drewboy at 2007-9-26 16:46:18
I'm trying to slow down an infinite loop with the followingcode. The program runs fine, (just super fast) with out the code, and still works fine with the code, for about 20 seconds, at which point i get the following error(s):Java HotSpot(TM) Client VM warning: ...