Unload DLL from Java application?

95 byte By ramareddys at 2007-9-26 3:15:53
Hi,Is there any way to unload DLL from Java application?Rama Reddy.

distributing JavaHelp with an app

764 byte By stcampbe at 2007-9-26 3:22:26
HiI have an application which uses JavaHelp and this works great on my development workstation. I wanted to distribute my app at this point and wondered if anyone could tell me what i'm missing to get the JavaHelp system working on another machine. I haven't packaged anything separately, it ...

JRE 1.3.1 EXCEPTION_ACCESS_VIOLATION 4F530E43505002CC

5344 byte By humesr at 2007-9-26 3:22:43
Aug 8, 2001PROBLEM:Randomly the applet and browser will literally shutdown and disappear from the screen. This occurs after a servlet communicationhas successfully occured and then the JFrames window is closed(the X button is selected). It generates the attacheddesktop file afterwards.The ...

Having problem running an application

418 byte By delislec at 2007-9-26 3:23:19
I have recently installed jdk 1.2.2 and i have no problem running applet but when i try to run an application i get the message 1 error can't find<filename> . java.The path in autoexec.bat is fine. JRE File is include in my file jdk1.2.2.I have installed and deinstalled it a couple of ...

How to change fonts?

643 byte By dmw73 at 2007-9-26 3:26:58
The plain Dialog font looks really bad on the X Server display using the Java Plug-in 1.3.0 runtime for Linux.I thought that I could specify which font that Dialog should use by changing the font.properties file. However, that appear to do nothing; I tried changing Dialog to all sorts of ...

Java Plug-in 1.3.1 & JSObject

365 byte By tapodaca at 2007-9-26 3:27:08
I need to know if the JSObject works with Java Plug-in 1.3.1 and earlier versions. I have an applet that works perfect with the new plugin, but cannot do everything it's needed to do with plugin 1.3.0...We are useing the call_javascript() currently, but this does not work with plugin 1.3.0 and ...

How to Measure The Amount of Leaked Memory?

1279 byte By cherylhu at 2007-9-26 3:27:13
I am writing codes to measure approximate how muchmemory is leaked when I call some methods. But I am not sure which method I should use for that in Runtimeclass.My codes are like:Runtime rtStart = Runtime.getRuntime();rtStart.gc();//total memory at starting timelong tmemStart = ...

Where does System.out go on W2K?

424 byte By anthonys2 at 2007-9-26 3:28:14
I have built an executable jar file, which writes to System.outOn Solaris, I can run either of:java -jar foo.jarfoo.jarand see the output in either case. But on W2K,I can see the output only if I runjava -jar foo.jarIf tryfoo.jarI see nothing. Is there a way to get output sent to the cmdwindow ...

running C++ application from Runtime.exec

178 byte By waellena at 2007-9-26 3:30:11
Hello everybodyI am trying to run a c++ executable file(myap.exe) using Runtime.getruntime().exec("myap"), nothing happend!.Can anyone help me please.

wrapped exception from Method.invoke()

798 byte By wjw_c at 2007-9-26 3:31:50
invoke() method within Class java.lang.reflect.Method may throw InvocationTargetException if the underlying method throws an exception. java1.1 API says,"Control transfers to the underlying method. If the method completes abruptly by throwing an exception, the exception is placed in an ...

JRE redistribution and msvcrt.dll

331 byte By floweb at 2007-9-26 3:36:27
I would like to known if it it necessary to copy the file 'msvcrt.dll' in the system directory of windows in case of redistribution of the JRE packaged in my application....What happens if the file already exist ? Is this files the same for all version of JRE ? ThanksFloweb ...

java.exe crash on P4 machine

482 byte By shpet at 2007-9-26 3:39:39
Is anyone aware of issues with running jdk1.2.2_008 or later on Pentium 4 machines?I installed a app server on Windows 2000 on my home machine and when I try and start it, a Windows popup window appears saying java.exe has generated errors. Where should I look for a more detailed error ...

Exception_Access_Violation exception thrown when application exits

574 byte By michiko72 at 2007-9-26 3:41:35
HelloI am developing server/client application. The client side is swing/calculation intensive application and it also decodes and renders images. I am using Win 98 and jdk1.3. My problem occurs when the application exits. I get the following error.An EXCEPTION_ACCESS_VIOLATION exception has ...

Oracle JVM crashes(also reported to Oracle)

353 byte By uma_var at 2007-9-26 3:48:49
Hi All,When I try to install any oracle downloadable product(personaloracle and oracle-9i-lite), it crashes even while setup.exe runs, with the error message:"Jrew has caused an error in JAVAI.DLL, Jrew will now close. Restart th computer if you have any problems".Is there any download/patch to ...

deleting unwanted classes from JDK....

508 byte By jinijug at 2007-9-26 3:52:40
we are implementing a swing application. the client need the deployment package in floppy(can number upto 4 numbers) , not CDROM. How can i possibly pack the JDK into this size. Is there any way by which i can find out all the classes that need to be used in my application so that i can remove ...

Java runtime

472 byte By waellena at 2007-9-26 3:56:09
HiI desperately need help.I am trying to execute a .exe file(c++ file) and also a java.class file using Runtime.getRuntime().exec("myfile.exe"), but nothing happened. I tried to put myfile.exe on the same directory as calc.exe and notepad.exe(because these works perfectly when using ...

Java Plugin 1.3.1 on RedHat Linux 7.1

901 byte By rihim at 2007-9-26 3:57:44
I downloaded and installed the Java SDK 1.3.1 for linux.When I try to view an applet written in Netscape I get the following error message on the bottom left corner of the browser window: ClassdefError javax.japplet not found. However, I can see the applet in the appletviewer. In order to ...

HELP!!! (java.library.path)

1268 byte By jags_yaar at 2007-9-26 3:57:49
Hi Friends,I have a problem with java.library.path settings.I am using a weblogic6.0. when creating connection pools I get a very strange error like the one I given below. When I checked the log file(weblogic.log), there is a logging entry for this java.library.path but the driver path is not ...

A lot of JRE's installed...

579 byte By EricSchultz at 2007-9-26 3:58:08
Good morning...here's something a bit wierd, but at least it doesn't involve pvc.i installed sun's jre1.2.2 and ibm's jre1.2.2. then i installed netscape 6.1 with it's jre1.3.0.now i have two plug-in control panels, 1 from sun and 1 from ibm and neither shows the same list of jre's. the ...

Java Runtime Environment 1.40 - Status says

583 byte By fbord2 at 2007-9-26 3:58:45
I am brand new to Java, and recently installed J2se 1.40. When I checked into Internet Explorer-Tools-Internet Options-Temporary Internet Files-Settings-View Objects to examine the "Java Runtime Environment 1.40" icon properties, I noted that the status line showed "Damaged". In the same icon ...

Live Connect Problems

371 byte By bigdaddyT at 2007-9-26 3:59:16
I have been experiencing what I think is a LiveConnect problem with version 1.3.1 of the JRE/SDK. I was using version 1.3.0-C. When I tried to upgrade to any 1.3.x vresion other than 1.3.0 my LiveConnect code seems to not work any more.Were there some changes to the code that would of cause ...

Need help: Mysterious initialization behaviour

1475 byte By sschroeder1 at 2007-9-26 4:03:53
I subclassed a class UI_ProgressDialog with the classUI_MultiProcessProgressDialog.This class defines the following constructor:public UI_MultiProcessProgressDialog(Frame owner, String title, String header,boolean showTextArea, boolean showProgressLabel,boolean autoClose){super(owner, title, ...

Running java from Userinit in Windows 2000

669 byte By pafkac at 2007-9-26 4:12:44
Hello all,I am developing an application that runs on windows2000 client. I would like the application to start on bootup and was considering using the USERINIT registry key to startup my application. On the Microsoft website it says that if this method is taken then the program in USERINIT ...

Calling jar -xvf

567 byte By seigot at 2007-9-26 4:19:34
Hi - I am trying to unjar a jar file by calling the jar command "jar -xvf". My code is calling the jar command but is not unjaring the jar file. This is my code:try{Runtime r = Runtime.getRuntime();Process p = r.exec("jar -xvf " + jardirectory + jarfile);}catch(Exception ...

jre plugin not working with IE5.5

767 byte By KeithSM at 2007-9-26 4:19:46
SystemWindows2000 version 5IE 5.5Netscape 4.08 & 6.1jdk1.3.1jre1.3.1My applet loads fine with netscape 4.08 & 6.1, but as soon as I try it with IE 5.5 it hangs unless i put the mouse pointer over a little black square that appears on the web page. This starts a download of the plugin ...

problems importing class

626 byte By geministar at 2007-9-26 4:21:07
the code is fine.import java.awt.*;import java.awt.event.*;import java.io.*;import java.swing.*;import java.TicTacDlg;Error i get is:TTacToe.java:12: '.' expectedimport TicTacDlg;^1 errorTicTacDlg.java is in DIR is in '/root/java' along with the rest of the classes.I have tried setting ...

problem with sockets on different platforms

638 byte By virelay at 2007-9-26 4:21:15
I have a GUI/code that sets up and acts as server for my and GUI/code that sets up and acts as a client to my server.I've set it up so that if the server goes away unexpectedly, the client code should catch the SocketException thrown and handle itself accordingly. This works great on my NT ...

How to use exec() twice?

574 byte By wonjeon at 2007-9-26 4:22:03
Hi,I'd like to invoke two execution files with the command, exec(), but it's not working correctly. For example, I'd like to execute a1.exe and a2.exe at the same time, but the second one is not executed.public class Hello {public static void main(String argv[]) throws IOException {Process p ...

Java 2 on Server Side

226 byte By agdownes at 2007-9-26 4:23:42
I dont want my visitors having to download the plugin which is 5mb. That would probably scare them away.Is there a way that my applets can be processed on the server side instead of the client side?

Runtime.freeMemory() and Runtime.totalMemory() questions

1064 byte By ragnor at 2007-9-26 4:29:51
OK, can someone verify my assumptions about these two methods and memory allocation in general. My assumptions are as follows, please tell me if they are correct or not:totalMemory() should return the total amt of memory the JVM currently 'owns'. Some of this memory will be already allocated ...

List of JRE Return Codes to UNIX ?

319 byte By BurnsC at 2007-9-26 4:30:09
Hi,I am trying to get a list of JRE return codes that are sent back to UNIX when it Runs a JAR file, through triall and error I have only come up with return codes of 1,2 and 255, if anyone knows of any others or where a list exists I would greatly appreciate your help.Regards,Colin. ...

Java.net.UnknownHostException Urgent

615 byte By dearamjath at 2007-9-26 4:37:20
Java.net.UnknownHostExceptionI got this exception in my system, when trying to fetch the contents of a web site for example, yahoo.com. But the program running in another system fetches the website contents successfully. In both the systems JDK version is 1.2.2 . But I don't know why this ...

Imports

253 byte By lupe306 at 2007-9-26 4:37:32
I'm having a problem with my imports... the compiler is not finding the .class. I don't know what is going on, because not long time ago it was working normaly...Does anybody know what may be causing this problem?Thanks....

Plug-in under Win 2K

1314 byte By vw5342 at 2007-9-26 4:38:36
I've read conflicting messages regarding the Java plug-in under Win 2K. Here is our situation:1) We currently use the 1.2.2 version of the plug-in. Everything works fine under Win NT.2) When installing the 1.2.2 plug-in under Win 2K (not logged in as an administrator, or with the proper ...

An unexpected exception has been detected in native code outside the VM.

6513 byte By tapodaca at 2007-9-26 4:39:45
Can anyone tell me why I am getting this error? My browser closes without warning and places this error file on my desktop: An unexpected exception has been detected in native code outside the VM.Unexpected Signal : unknown exception code occurred at PC=0x77f1d642Function ...

Java.lang.NoClassDefFoundError : org/xml/XMLReader

1209 byte By AnnieA at 2007-9-26 4:40:40
Hi, I have a XMLClient.java and it compiles but it has a runtime error that says "Java.lang.NoClassDefFoundError : org/xml/XMLReader"I have the xerces.jar and jaxp.jar files in jdk1.2.2\jre\lib\ext\. Also I've set the CLASSPATH to that directory. Here is the code:import ...

how do i get an OS environment variable from Java code?

212 byte By 6tr6tr at 2007-9-26 4:47:25
How do I get an OS environment variable from java code?An env. variable in unix: SET BLAH=BLAHIn Windows: SET BLAH=BLAHHow get this variable? (Java makes you set one: CLASSPATH)

Running different JRE on the same system to measure JRE Performance

818 byte By christma at 2007-9-26 4:53:19
Hey there,I want to run several java benchmarks on different runtime environments on the same system. Now, I need to know what I have to consider that those machines do not affect each other?What do I need to consider while installing those different runtime environments.How do I have to set ...

To Verisign or not to Verisign my Code? (And which do I use?)

908 byte By TaxiMan at 2007-9-26 4:55:05
I have been using the netscape signing tools to sign my applet using a certificate from Netscape's Certificate Signer (in house). I am able to sign my applets and run them in IE (4.0 and 5.0) on Windows NT 4.0 without any problems. It also runs on Netscape 4.x but it does not have to run on ...

Memory leak in Solaris - SunOS 5.7, jre1.3.1

848 byte By p_vidya at 2007-9-26 5:00:13
Hi,I hava a java application that spawns about 100 threads. Each thread sends a request to WebLogic server 6.1. We are using Oracle 8.1.7. They are all running in a Sun box, 2 CPUs and 6gig memory.JRE = 1.3.1SunOS = 5.7Weblogic = 6.1Oracle = 8.1.7(All running on the same box)When we start the ...

StringTokenizer error

619 byte By Dawn_rico at 2007-9-26 5:04:00
hi Experts,I've included these libraries but I still have still error. Do you have any solution? Thanks.import java.util.*;import java.util.Vector;import java.util.StringTokenizer;import java.lang.*;import java.lang.Object;import java.lang.String;C:\Folder\MyFileReader.java:60: Method ...

StringTokenizer error

619 byte By Dawn_rico at 2007-9-26 5:04:01
hi Experts,I've included these libraries but I still have still error. Do you have any solution? Thanks.import java.util.*;import java.util.Vector;import java.util.StringTokenizer;import java.lang.*;import java.lang.Object;import java.lang.String;C:\Folder\MyFileReader.java:60: Method ...

getInteger error

717 byte By Dawn_rico at 2007-9-26 5:04:09
hi Experts,Do you have any suggestions to this problem? Thanks.I've included the required libraries.import java.util.StringTokenizer;import java.lang.*;import java.lang.String;import java.lang.Integer;int cnt = 0;int id = 0;while ( st.hasMoreTokens() ){token = st.nextToken( );if (cnt == 0){id ...

Can't execute a HelloWorld Class!! (in os/2 jre)

326 byte By Theist at 2007-9-26 5:17:11
I work over Os 2 Warp 4, we have many host in our offices with this Operating System, there's a JRE but we can't start any class due (perhaps) to short file name system present in Os/2 any help? thanks, we started to work with Java cos we plan to change gradually our systems to other ...

Why does applet ask for user authentication (again ?)

303 byte By kkelleher at 2007-9-26 5:17:12
Hi,I'm not sure if this is the right forum.Anyway, I'm using ASP & IIS.When I launch the applet, I am asked for user authentication (again !!). I was authenticated when I launched the html page. Can anyone help?Thanks in advance,Kevin. ...

Automatic jre1.4 Plug-in instalation.

519 byte By Kolunsha at 2007-9-26 5:18:09
I have a problem with the JRE1.4 beta 2 Plug-in.I'm tring to insert in my thml page a applet, wich need this plug in. And if there is no JRE1.4 installed, then it should download this plug-in.I wrote as an example on ...

Deploy to Client

440 byte By msetjadi at 2007-9-26 5:32:15
Hi all,i have a simple program to deploy on the client machine.Are there anyone knows how to do this or know where i can find documentation about this.1.Do i have to install jre on the client.2.Can i put the class on jar client?if yes how i retrieve them on the client side?3. Do i need to set ...

JSSE SSLSocketClinet Example

485 byte By ndanielsun at 2007-9-26 5:40:03
Hi,I am trying to retrieve the html code of a secure page using the SSLSocketClient example given. It seems to work fine when I use www.verisign.com to create the socket (the example as is), however, any other secure site I try, ALWAYS returns that site's 404 - Page not Found html code, not ...

UnsatisfiedLinkError - Novell

1485 byte By rgunder3 at 2007-9-26 5:41:30
HiWe have a problem with authentication using JNDI into eDirectory. We are using Novell's service provider from njclc_all.exe. We must however, provide a purely JNDI focused solution. Our client will not permit the use of code from the Novell API (aside from using the servide provider).We have ...

conversion Vector of Floats to float[]: exception?

936 byte By mrehman55 at 2007-9-26 5:42:49
Java Developers, I am able to convert my String vector to aString[] but just can't get the Vector with Floats to be converted to a float[] array. I have looked into google and java.sun.com Forums but still cant seem to find the answer. I would really appreciate your help!This is how I am ...