chat

238 byte By goossensgert at 2007-9-27 1:54:47
When I try to log in a chat box I always get the message Loading java aplett and then nothing happens.What can be the problem?I already reinstalled java 2 runtime enviroment.Can sommebody help me please?

Floating decimal problem!!

790 byte By brookpuppy at 2007-9-27 1:56:04
Dear all,I wrote a java application to manipulate some data format transferring. I can run it on Windows with jdk 1.3. But when I ran it on Red Hat, I got such problem:Exception in thread "main" java.lang.NumberFormatException: -0.715at ...

API

54 byte By KCE at 2007-9-27 2:00:18
How do I install new APIs?Thanks.

sniffing JVM plugin version

323 byte By jsultanik at 2007-9-27 2:06:38
Is there any way to sniff the JVM plugin version using JavaScript.I know you can detect whether or no the plugin is installed with the following code:new ActiveXObject("JavaSoft.JavaBeansBridge.1");But is there any way to get the actual version that is installed?thanks-Josh ...

1.4 slower than 1.3 !

1466 byte By gianakas13 at 2007-9-27 2:08:49
Hi all,I recently began developing a new application and used the 1.4 compiler and JRE. Since the application will be offered to the public, I periodically test it w/ 1.3.The application will contain some data graphs, so I started out creating some simple graphing routines to test the frame ...

Creating an exe file for java

192 byte By stann82 at 2007-9-27 2:12:56
Hi all,any way to create the exe file using JBuilder 3?if possible how to do that?how about creating installation file for the application?thanks alot

Help on Linux with JRE 1.3.1_02!!!

847 byte By LinuxRaichu at 2007-9-27 2:17:48
Well..hello.Here is my Problem:I Dloaded the JRE 1.3.1_002.bin file and instaled it. No Problems, nu Errors, nothing.But for Example, Limewire still doesn't work! It says that"No Java Viritual Machine could be found from your Path Enviroment.Youmust install a VM prior to use this ...

Calling DOS from Process

476 byte By SprindtK at 2007-9-27 2:18:20
Hello fellows,I try to call two dos-commands from a process; I had to rename two files. It works fine, if I only use one command, but I can't execute two (or more).I did this:String[] WhatCommand = new String[] {"cmd", "/c", "ren " + filename1 + " " + filename2}process = ...

Using java.lang.Runtime to run a program on QNX RTOS

765 byte By james007g at 2007-9-27 2:19:52
Hi everyone,I have a program called sh4gps on QNX operating system located in my /usr/bin directory. I am trying to make a java class to run this program on my j9 VM installed on QNX using java.lang.Runtime. Can sombody please tell me what i'm doing wrong? Here is my code, thanks in advance!! ...

Runtime error problem. URGENT

945 byte By shortcake1980 at 2007-9-27 2:20:42
Oh dear... I'm a student who's desperately trying to code my assignment and have been running into a lot of problems. I am currently using textpad to compile and run my java files. Although I am able to compiel successfully, I have been getting a runtime error message that says"Exception in ...

runtime.exec work in windows but not in solaris?

2865 byte By klin02 at 2007-9-27 2:23:56
hi all, can someone tell me why the following code work in windows platform but doesnt work in solaris?The program tries to ping 127.0.0.1 and the output is correct in windows, but when i try it in solaris, it produces the following exception : Internal error: Unexpected Java exception thrown ( ...

Bad magic number

837 byte By mpultz at 2007-9-27 2:27:30
HiWe are loading an applet in IE 5.5 from a web server running our own script language. We are generating the html file with our script language but when we load the page we get the following exception:java.lang.ClassFormatError: something/somethingelse (Bad magic number)at ...

Thread sleep for too long

642 byte By yq1 at 2007-9-27 2:28:44
While I was trying to run SPECjbb2000 with JDK1.3.1_01 (same thing for JDK1.2.2), the benchmark program periodically performed some timing measurements such as the following:Timing Measurement began Tue Apr 09 08:35:23 CDT 2002 for 2 minutesTiming Measurement ended Tue Apr 09 08:42:03 CDT ...

JAVAC PROBLEM

200 byte By maestrojava at 2007-9-27 2:33:23
I downloaded J2RE 1.4.0 and I am trying to compile via javac xxxx.java in win2k pro environment and everytime I attempt to compile I get a cannot find javac error message. Please advise.

"Connection Failure with 502" exception while running applets

914 byte By jyothibn at 2007-9-27 2:37:28
Hi,I am getting an IOException - "Connection failure with 502" while running Java applets. What we concluded is that this error is not problem with our application, but this occurs only on few machines at client site. Can you please help us out asap. We are using communicator (a java file) for ...

Silent uninstall of JRE

183 byte By lrusso at 2007-9-27 2:38:42
After silently installing a JRE, how do I do to silently uninstall any JRE present (without knowing the install directory).Thanks in advance,Ludovic Russo.

Notification of web browser closure

853 byte By tgevans at 2007-9-27 2:39:33
I'm trying to develop an application that fires off a web browser and various other applications at start-up, then shuts all the applications down when the web browser is closed.I tried using the Process.waitFor( ) functionality, but it gave me a few problems:If the web browser spawns another ...

Help with exceptions

1100 byte By Bing01 at 2007-9-27 2:41:17
I am doing a client-server game using swing, so far my game runs ok, however, when i exit the programm i get alot of errors/exceptions like this:at java.net.SocketInputStream.socketRead(Native Method)at java.net.SocketInputStream.read(SocketInputStream.java:86)at ...

CLASSPATH variable

415 byte By FB75 at 2007-9-27 2:43:16
I installed Apache Tomcat 4.0. Created a CLASSPATH variable set to the servlet api path in Apache's directory(%CATALINA_HOME%\common\lib\servlet.jar). Also a path and JAVA_HOME variable in autoexec.bat are set to C:\JDK1.2. After creating the CLASSPATH regular classes can not be compiled - Bad ...

Help with case issues in Java 1.3

682 byte By mikesm at 2007-9-27 2:51:45
Using JDK 1.3 and Windows 98... here is my problem. If I create a class called EventSite.java and another class called eventsite.java (same name, different cases) and then compile them both...I only see the the first class compiled in the directory (they are both being compiled into the same ...

Java Communication (javax.comm) with JRE1.2.2

737 byte By avijitdas at 2007-9-27 2:52:14
Sub : Java Communication (javax.comm) with JRE1.2.2Dear Friends,I am using JDK1.2.2 with javacomm20-win32 patch for developing an application where an instrument is serially interfaced through Serial Port (COM 1) using RS-232C protocol. When I am using JDK1.2.2-008-win (20 MB) compiler then the ...

Execute DOS command from java application

178 byte By cescovic at 2007-9-27 2:56:26
Hello,I want to execute a DOS command (MOVE, in order to move an image from a folder to an other) from a java application. How can I do this?Francesco

Length of String on a 32bit platform

148 byte By ldodge_sun2 at 2007-9-27 2:58:57
Does anyone know the maximum length of a String on a 32 bit platform? I am working on a 64 bit system, but the database is only 32bit.

JRE 1.4.0 not working in IE on Windows XP?

706 byte By afuechsel at 2007-9-27 3:00:56
Hi, after installing JDK 1.4.0 (which brings JRE 1.4.0) my IE 6.0 on Windows XP no longer complaints that there is no Java installed on my machine when opening a page which uses an <applet> tag. (As we all know, Microsoft does not include Java in Windows XP) But when I open ...

Calling the Windows "Open With" dialog from Java Application

868 byte By FinJ at 2007-9-27 3:01:17
I have an email application written which caters for the opening of email message attachments.I have a configuration file that enables mapping of email attachment extensions to the windows application that should be used to run the attachment. I use the Java Runtime exec() command to open the ...

How can i run my java Application stand alone?

352 byte By c9010003 at 2007-9-27 3:03:42
Dear all,As the topic i want to run my application in a single file without showing the dos prompt or type in the command in dos prompt by the user......How can i do that, since in my application , i have used so other package?In fact i just want to do something like just run a executable file ...

Jre extension Mechanism

358 byte By djey at 2007-9-27 3:08:31
i have my own extension mechanism which updates the extension directory within japplet.every time i update the ext directory i have to restart the browser. is there any way to reload the jre without restarting the browser. The jar files which downloading to ext directory not used in the japplet ...

execute windows ping from java....

531 byte By Skyblue at 2007-9-27 3:08:45
Why don't work ?import java.io.*;class runtime{public static void main(String Arg[]) throws IOException { Runtime r=Runtime.getRuntime(); Process p= null; try{p=r.exec("ping.bat") ;System.out.println("Finalizo la ejecucin de ping");}catch(Exception e){ System.out.println("Error al ejecutar la ...

Proxy Setting / Java Plugin 1.3.1_01 and Internet Explorer 5.5SP2

511 byte By zipperX at 2007-9-27 3:12:17
Hi,my Internet Explorer 5.5SP2 uses a proxy to connect to internet. I told my Java Plugin 1.3.1_01 to use these Proxy settings, too. When I run a applet my console says, I don't have a proxy configured. But it runs the applet without problems!When I start the Netscape 6 and check the console, ...

FTP works in Windows but not in UNIX

3848 byte By yessara at 2007-9-27 3:12:34
I am new to java program and debugging an existing code. This code is to FTP a file to the mainframe system. This code works perfectly if the running environment is windows but it fails in Unix (It is prompting for the password). I am here by pasting a part of the code. If anyone has input ...

Remove/Hide "Loading Applet" Message

415 byte By sundhario at 2007-9-27 3:13:02
Does anyone know of any clever HTML or Java code that will not show the "Loading Applet" message while the applet is loading.Currently, I position the applet WAY off-screen until the applet is finished loading, and then move it back to its original position. This causes some ugly flickering ...

JRE 1.4.0 and Java3d

344 byte By Excellion at 2007-9-27 3:13:57
Hello everybody!I've installed in my computer (win 98) every jre since the jre1.1.4. So, i've desinstalled them, in order to put in the 1.4.0. But when i try to install java3d, it tells me that it can't find java vm, others errors have appeared always concerning the java vm. Is anybody could ...

Environment Variables for WIndows 98

141 byte By Alond at 2007-9-27 3:17:39
How do I set Java Environment Variables for Windows 98, like CLASSPATH and windir?In Windows 2000/ NT there is nice GUI.

JRE1.4 Caching Not supported IOException

220 byte By MarkAitken at 2007-9-27 3:24:10
Hi I get the above exception every time I download and run my Applet. It worked fine under 1.3.1_02. It also works ok when I run it locally on my hard drive.Any ideas?ThanksMark.

Character encoding

480 byte By mpothara at 2007-9-27 3:24:19
Hi,Is there a method in Java to change the default character encoding for a VM? For instance, when I create a string, I have to dobyte[] b = {1};String s = new String(b, "ISO-8859-1");to force ISO-8859-1 encoding to be used.Instead, is there a way to set it in the environment somehow, sothat ...

Manifest attribute Class-Path

1024 byte By hamilcar_ at 2007-9-27 3:28:29
Hi !!I can't get the Class-Path attribute to function properbly, what i'm trying to do is to include all the jar files my application uses, in one jar file. Where the resources is specified in the Class-Path attribute.But the Classloader, can't find any of the resouces specified in the ...

Inactive applet threads in Windows

741 byte By jspowell at 2007-9-27 3:31:35
I am writing an applet which creates a thread to perform animation. The applet also contains a java.util.Timer which periodically calls a TimerTask to get data from a server. When running in Windows 2000, everything works fine if the browser (or AppletViewer) is the active application--the ...

cannot resolve symbol

110 byte By choongshien11 at 2007-9-27 3:34:03
got error, "cannot resolve symbol" what the meaning of this problem? How to solve? thanks

Which JRE Version will be used?

141 byte By zwenjava at 2007-9-27 3:36:04
If there are a number of JRE version installed on a PC, which version of JRE will be used? Or can be controlled by application?

I can't get applets to run - I messed up machine

1177 byte By janesdtr at 2007-9-27 3:38:51
This is not a programming question, just an "I want to see an applet" question.2 months ago, I downloaded the JDK 1.3.1_02 because I was/am taking a programming class. I set the path variable to the BIN. I then had 2 runtime environments 1.3.1 and 1.3.1_02 and everything was fine. Last week, ...

Problem with JRE with multiple JDK's installed

856 byte By rampe29 at 2007-9-27 3:39:00
Hey, I have a problem, when typing java error happens. It looks like this:C:\>java -versionRegistry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'has value '1.2', but '1.3' is required.Error: could not find java.dllError: could not find Java 2 Runtime Environment.My ...

Differences in serialization between different implementations of the JRE

290 byte By davidmk at 2007-9-27 3:39:51
I am having some problems using a serialized file created on one OS (Windows) being read and another OS (HPUX) using the same version of java and the same application. Obviously the JRE's are different implmenetations, but is anyone aware of differences in this area? Thanks.

Jikes and JDK 1.4

198 byte By paskutini at 2007-9-27 3:39:55
Hello, can someone please tell me if Jikes can be used to compile Java code under JDK (and JRE) 1.4? The latest version of Jikes (1.15) came out in October last year.TIA, Bagi.

Plugin 1.3.1 and problems with 256 colors

2394 byte By schleute at 2007-9-27 3:45:25
I have encountered numerous problems with Java code displaying wrong colors(dithering, simply wrong colors) when the display is set to 8-bit colors.I have found the following contributing factors. For my tests, I compile on a W2K with lots of memory and 16-bit color. The runtime is the plugin ...

Session Object Size

140 byte By iisaphd at 2007-9-27 3:49:59
Is there a limit to the size of the session object? If so, is this size dependent upon which application server you are using?

how to copy .gif files from one dir to another using runtime.exec

927 byte By samba_reddy at 2007-9-27 3:53:27
hello sir/madem,i want to copy some gif and jepg files from one directory to another dir using swing.when i tried with using runtime.exec(String[]) i am getting the following error.anybody please tell me what is the problem in my programjava.io.IOException: CreateProcess: ren ...

how to copy .gif files from one dir to another using runtime.exec

927 byte By samba_reddy at 2007-9-27 3:53:28
hello sir/madem,i want to copy some gif and jepg files from one directory to another dir using swing.when i tried with using runtime.exec(String[]) i am getting the following error.anybody please tell me what is the problem in my programjava.io.IOException: CreateProcess: ren ...

Can I make a exe program with Java

197 byte By jackywong_2000 at 2007-9-27 4:00:38
I have a program which run in Windows and Can I make a exe program which write in Java.That means can I run the Java program without Doc Prompt?And what can I do for it?

Plug-in 1.4 NullPointerException on Repaint

1736 byte By jsexton at 2007-9-27 4:05:51
Using the plug-in 1.4 in Netscape 6.2, with a existing Swing applet, I get an exception on a browser reload/repaint command. The applet runs fine at first, but a reload fails. The applet also works fine, and reloads fine, in Netscape 4.7 by downloading the switng jar. The applet is created by ...

Calling C program

516 byte By rsarig at 2007-9-27 4:10:25
Hi,I am trying to activate a C program from within my java program using Runtime.getRuntime().exec("program name")this C program is dealing with various files from it's directory - which is different from my my java's app directory. the C app seems to be unable to deal with these files - ...