Java hangs up -HELP!!

869 byte By beschwab at 2007-9-26 23:43:14
I downloaded 1.4 the other day and installed it and then removed the install exe. Today I decided to uninstall 1.3 and delete the jdk1.3 directory.When I tried to run java I got an error saying that the system could not find the CurrentVersion under the Java Runtime Environment in the ...

Linux NoClassDefFounError

578 byte By SplineCL at 2007-9-26 23:45:51
I'm new to Linux and have just installed Red Hat 7.2 and Java J2SDK 1.4. I have no problem compiling my java files but when I trie to run them I get a "Exception in thread "main" java.lang.NoClassDefFoundError: /usr/javasrc/bank" in this example I tried to run a file called bank.class. I ...

SwingSet app hangs on jre1.4.0

1093 byte By svv1 at 2007-9-26 23:46:06
When I run the SwingSet app with the jre 1.4.0 on a Dell Notebook Latitude C600 (Win 2000), the app hangs and takes almost all CPU.A stack dump gives:"main" prio=5 tid=0x00235578 nid=0x7c8 runnable [6f000..6fc40]at sun.awt.Win32GraphicsEnvironment.initDisplay(Native Method)at ...

java.exe - Bad Image

1027 byte By JeanNiBee at 2007-9-26 23:48:26
HiI have a routine that recursively runs through a database to calculate totals of 'children 'associated with a particular parent. I mention this for the following reason.This program does absolutely nothing with the filesystem of the machine it runs on. What happens when I execute is that I ...

JAR's are never the same... or are they?

331 byte By BezugliyY at 2007-9-26 23:48:58
Why are two JAR files created from the same CLASS files never the same? They have same length but some bytes differ.Is there a way to enforce that JAR.EXE always produces equal JAR files from the same set of CLASS files?Does anyone know where to get a description of JAR file structure?Thank ...

Silly ask...What's JRE?

47 byte By dungali at 2007-9-26 23:50:27
what's java runtime environment?

how can i know the directory where "java command" of jre is located !!!

223 byte By lyes143 at 2007-9-26 23:57:53
i would make a batch file that launch my java application, is there a way to specify in the batch file the path where is located the "java command" -if it exists- in the client machine to run the application.?

Process.waitFor and exitValue 127

543 byte By santitos at 2007-9-26 23:58:41
I'm trying to execute a shellscript using this java code:try{proc = Runtime.getRuntime().exec (sComando);exitVal = proc.waitFor();if (exitVal == 0){//doing something}}catch(Exception e){}I get the exitValue 127. What is the meaning ofthis value? or where can I find the meaning of any of the ...

java.exe (j2re1.4.0) can't init C:\WINNT\system32\DDRAW.dll

673 byte By stille at 2007-9-27 0:01:05
Our app is running on jre 1.3.1_01. When we try j2re 1.4.0 we get the following dialog:java.exe - DLL Initialization FailedInitialization of the dynamic link library C:\WINNT\System32\ddraw.dll failed. The process is terminating abnormally.It occurs when the application attempts to paint the ...

Problem on using waitFor()

322 byte By 50133462 at 2007-9-27 0:07:48
The following is a simple program related to my question.[Testing.java]Process p = Runtime.getRuntime().exec("a.bat");p.waitFor();System.out.println("from java");[a.bat]echo frombatI would like to know why the java program do not wait for the bat to execute? ...

Exception in thread "Main" java.lang.NoClassDefFoundError: HelloWorld/class

864 byte By mudassar01 at 2007-9-27 0:07:55
Please Help!I have spent nearly 10 hours trying to get Java to run my simple code. It compiles alright when I type Javac HelloWorld.JavaBut when I type Java HelloWorld.class or Java HelloWorldI keep getting the following error message:Exception in thread "Main" java.lang.NoClassDefFoundError: ...

Import trusted cert into jpicerts

496 byte By awidjaja at 2007-9-27 0:10:10
Hi,I need to suppress the pop-up dialog by JRE while loading an applet which access local files. I found out that by clicking on the grant always option, JRE is actually adding the signer certificate to jpicert file. I need to imitate this behaviour so that users doesn't have to click on grant ...

is jre1.4 still support javascript to applet communication?

189 byte By hdream at 2007-9-27 0:14:14
is jre1.4 still support javascript to applet communication?I can't get the method in applet from javascript in jre1.4. Are there have a different way to communication?

Application launcher

294 byte By apppu at 2007-9-27 0:15:26
Hi all,I want my java program to open another file with its default launcher.... I know i can do it using RUntime.exec(cmd /c file) in windows... What is its equivalent in linux and Unix?... Is there any other way to open an application?Thanks in advance.appu

how can i know the location of rmiregistry throught the batch file ?!!!

286 byte By lyes143 at 2007-9-27 0:15:54
i would make a batch file that launch my java application wich uses RMIREGISTRY, is there a way to know the path where is located the "rmiregistry file" -if it exists- in the client machine throught the batch file in order to start it befor to launching the application.?

error running a project in JBuilder6

234 byte By danaya3 at 2007-9-27 0:19:42
hi,when i run my application i get the next message:java.io.IOException: CreateProcess: javaw -classpath "..." pruebas.Prueba2 error=267anybody knows what kind of error is 267?thanksbye

Reading a text file from a URL

922 byte By strobinson1 at 2007-9-27 0:19:59
I am having problems trying to read a text file from a URL.This is the code i have been using:package Java;import java.net.*;import java.io.*;public class Main_1 {public static void main(String[] args) throws Exception {URL myAddress = new ...

Applet's Crashing Explorer 5.5 with JRE 1.4

332 byte By poncik at 2007-9-27 0:26:30
I downloaded the latest version of JRE 1.4 yesterday. When I try to open a web site with Java, Explorer closes itself without an error message. For avoiding it, I reloaded the JRE 1.1.8 (which didn't cause such problem), this time i got a virtual machine error. Please help :)thank ...

BDK1.1 and J2SE1.4

604 byte By edward005 at 2007-9-27 0:33:52
I used to use BDK1.1 with J2SE1.2 or 1.3. After I get J2SE1.4 installed, the BDK1.1 stops working.When I am trying to uninstall/reinstall BDK1.1, I always get the following error message:"Window error 126 occured while loading the Java VM. Try re-install the Java VM or change the Java VM used ...

Any idea why dns-related .pac functions only half-implemented?

1519 byte By zippyspank at 2007-9-27 0:36:03
My first post! How exciting...I work for a fairly large company which requires proxy access to get to external (internet) sites. But, due to the number of clients we have (and due to the fact that it just kinda seems silly), we don't want clients going to the proxies for internal sites.Due to ...

JRE 1.4 US only - Error occurred during initialization of VM

332 byte By ohadpinchevsky at 2007-9-27 0:39:28
JAVA.EXE in JRE give that message Error occurred during initialization of VM with throwing NullPointerExceptionThis is NOT happening when using JRE internationalOR sdk - which is almost like JRE international butfor some unknown reason WITHOUT the SERVERdirectory which is a bug for itself. ...

Live webcam image freezes with JSE 1.4.0 plugin

399 byte By grhodes40 at 2007-9-27 0:40:15
When I view the following URL the image shows multiple frames a second then after 5-10 seconds (typical) it freezes. JSE1.3.1_02 worked just fine but after upgrading to 1.4 it started freezing (image would stop updating or just disappear ...

Opera requires Java RE 1.2 or higher

377 byte By ChunkyCol at 2007-9-27 0:41:14
My OPERA browser came up with a message when visiting a site (...not compatible needs JRE 1.2 version or higher. Obtain from Javasoft...I have searched and found a variety of Java plug-ins but am not sure which to download. Can anyone direct me exactly ot the page where I can download the ...

c:\program files\javasoft\jre\jdk1.3.1\lib\ext

206 byte By kskssun at 2007-9-27 0:43:41
If I put JAR file here:c:\program files\javasoft\jre\jdk1.3.1\lib\ext ?Is JDK going to find it automatically?Or is it necessary to out it in the classpath as well?

HELP!!! LINUX: error: no java virtual machine found

673 byte By pabbistrumpur at 2007-9-27 0:52:52
I'm running Mandrake 8.2, and I just installed the jre 1.4 rpm.Now I want to run the Limewire Installer - bin, but the shell only tells me:*No Java virtual machine could be found from your PATHenvironment variable. You must install a VM prior torunning this program.*I don't know how to set ...

System Interrupt Signals

622 byte By mohta at 2007-9-27 0:53:46
I have a daemon process which looks for messages in a queue. When there are no messages in the queue the process waits. At this point if the system on which the daemon is running say for example the UNIX box is shutdown or crashes then how can I trap that signal so as to close all the database ...

java.lang.OutOfMemoryError: unable to create new native thread

460 byte By pdhokte at 2007-9-27 0:54:11
I am running server application on Solaris & java1.3.I tried to allocate more heap memory using Xms & Xmx option. But I got following error during initialization of the application.java.lang.OutOfMemoryError: unable to create new native thread.The application works fine without these ...

How to monitor CPU and memory on Windows NT?

102 byte By ChuanboXu at 2007-9-27 0:56:34
How to monitor CPU and memory on Windows NT 4.0 with java?Thanks for your advice.

Can't find Swing with J2RE1.3.1

255 byte By sigalsMot at 2007-9-27 0:58:48
Hi,we're using J2RE1.3.1 on IE, but when the applet starts I get an exception for not finding one of the Swing classes.I removed all the plugins I had and reinstalled J2RE1.3.1 but it still didn't help.Any idea?

How to evoke a DOS console in Java?

265 byte By CraigLiu at 2007-9-27 1:04:06
Hello There,I am trying to open a DOS console (says, cmd.exe in win2000) in Java. Obviously, the usual Runtime.getRuntime.exec("cmd") just does not work. Could someone please help me in solving this puzzle.Many thanks,Craig

Install JVM server with 1.4 JRE

289 byte By mkurtz_sd at 2007-9-27 1:04:48
I noticed that the JRE installation of 1.4 for Windows only includes a bin\client directory. Is there an installation that contains the bin\server JVM? Or, is it safe to just copy the bin\server directory from the SDK installation to a production system?

JRE

70 byte By gbrajesh at 2007-9-27 1:05:02
Which version of JRE can be used with Red Hat Linux 7.0?

Java enabled WebWorks Help reverts to JavaScript Plan-B implementation

2581 byte By hfinger at 2007-9-27 1:05:15
I am not a Java programmer but have some understanding of how it works at a conceptual lever.We are using WebWorks Publisher 7.0 (WWP7) to single-source user documentation in a proprietary XHTML help system, WebWorks Help 3.0 (WWH3).In theory, this help should display in any browser with a JVM, ...

Java application Installation (Windows)

345 byte By jeca at 2007-9-27 1:08:13
Hi,I have developed a Java application which now is ready. I want to put it on a CD and make it as easy and as automatic as possible to insall. If the user doesn't has any JRE this should be automaticly installed, etc.Are there any easy way makeing this myselft or what good programs exist that ...

how would i get

411 byte By supplier at 2007-9-27 1:18:23
microsoft windows have register file extension and their associate application in which that particular file opened...how can i get this info in our java program that how many files extension are registered on particular operating system and the info about thier registered application....for ...

environment variables

150 byte By supplier at 2007-9-27 1:18:24
how can i get information in our java programs about the system's environment variables and their values..plz do helpp me

Runtime Error in IE 5.5

1222 byte By glenn45us at 2007-9-27 1:18:45
Hi, maybe someone can help me. We have an application that users access by going to a website. One of the users has an error, continually, when trying to access the application (or site). We setup the client the same way on any machine: we take a folder with all the files that are associated ...

java.net.BindException:Address in use:JVM_Bind

629 byte By cinLiu at 2007-9-27 1:19:46
As i try to run this client-server game i get this message and do not know how to overcome it. Can any one help me please!!java.net.BindException:Address in use:JVM_Bindat.java.net. PlainSocket Impl.socketBind<Native Method>at.java.net. PlainSocket Impl.bind<PlainSocket Impl.java:405 ...

Java script errors accessing Internet bank sites.

330 byte By digitec2001 at 2007-9-27 1:28:56
Can someone inform me if there is an upgrade to my Win 2002 Pocket PC as whenever I attempt to log on to my Internet Banking sites I receive "jscript" errors.I have upgraded security to 128 bit high encryption and changed the registry to mascarade as IE 5.5.Where does JScript fit into the Java ...

I need to show an html file from an application

1062 byte By kobeand at 2007-9-27 1:30:35
Hi there!, I really need your help...I have the absolute path in an String variable:/********************************************************************************/String fileHTML = ...

How do you send CTRL-D to a program in java..

417 byte By toil at 2007-9-27 1:39:51
hi,i have a java program, from in this i am calling another program...:p2 = r2.exec("PROGRAM.EXE --OPTIONS \r\nThis is the passed in parameter to the program message /004"); Now the program needs a CTRL-D at the end of the passed in parameter....Is this '/004' correct?It is not workin for me ...

JRE - applet authorisationProblem

774 byte By morbidman at 2007-9-27 1:40:16
hai all;have problems with using JRE > 1.3.1_01 and user authentification:the html-site is in protected webserver area (enter username/password to see the html which embeds an applet).after the username/password has been entered and the jre starts loading the applet, when the applet calls a ...

Forte Debugger crashes in Solaris 8 on Sparc

444 byte By KHeston at 2007-9-27 1:41:30
Just did a brand new install of Forte4J 3 on my Sparc Ultra 30 and am experiencing a crash problem while debugging my swing application. The debug process exits intermittently although when the code is executed standalone it runs fine. The error thrown is:FATAL ERROR in native method: JDWP ...

What is the meaning of "fcs"?

378 byte By meltem at 2007-9-27 1:46:21
From bug database i found a bug related to my problem, it seems it is fixed, but i cannot understand exactly in which version of JDK, because i dont know the meaning of "fcs", do you?The following is the information that i copied from bug page:Reported Against:1.1, 1.0fcsRelease ...

Disabling error logs

390 byte By lewisak at 2007-9-27 1:49:18
We use the JRE 1.3.1_02 in a Windows NT 4.0 environment, as the Java implementation for Internet Explorer. Sometimes a file will appear on a user's desktop with a name 'hs_err_pid*.log', containing JRE error messages. Is there a way to disable the creation of these files? I looked through ...

problem with VM parametres in jbuilder 6!!

504 byte By Ramazotti at 2007-9-27 1:49:42
hi!i am using jbuilder 6 entreprise edition , and my problem is when i ma trying to run an applet it asks me ,within a window , to specify :- my VM parametres ( as a default runtime configuration )- main class- the HTML file i think that main class = java.awt.applethtml file= the file that will ...

Running Files

226 byte By FinJ at 2007-9-27 1:51:22
Is there a method or way of calling the 'Open With' dialogue box, which enables the user to select the application to run a particular file. If so, I would appreciate an example of how it is done.Thanks.

J2SE 1.4 generated classes on older JRE versions

276 byte By eribon at 2007-9-27 1:51:47
Maybe a newbie topic but is it normal that JDK 1.4 generated classes only work on the JRE 1.4 runtime environment ?If so, how do I compile to work on older runtime environments ?A link to a page with info on this would be most appreciated...

JRE 1.3.1_02 does not work with new Nvidia drivers - HELP!

10312 byte By ohmster at 2007-9-27 1:53:04
I am a user and not a developer but this problem really does bite the big one. I have had installed JRE 1.3.1 and have used it to run LimeWire file sharing program for a long time (LimeWire is a java program from www.limewire.com) and also use it to see java applets on web pages in IE 6.I have ...

Java (tm) 2 runtime envieroment

320 byte By marleydapug at 2007-9-27 1:53:44
I am trying to veiw an image that is on a us court web site that is using Java.I download ver 1.3.1_02 and installed it fine, when i go to veiw the image i get the following message Java Plug-in Security Warning. i close that box and nothing happens. No image just gray screenAny suggestions? ...