Better Compression for jar file

937 byte By Rudolff at 2007-9-26 7:19:50
Hi.I'm currently working on a Java Application that runs on a Compaq iPAQ with a familiar linux distribution. There is a JRE 1.3.1 available but it is about 19 MB. Because there is a very limited amount of memory I'm currently working on getting rid of all the unnecessary stuff. The jar file ...

Error when using Tomcat and JavaWebStart

487 byte By Joevaa at 2007-9-26 7:20:00
I got the following message:========================================An error occurred while launching/running the application.Title: NotepadVendor: Sun Microsystems, Inc.Category: Download ErrorBad MIME type returned from server when accessing resource: http://c152:8080/test.jnlp - ...

LimeWire?

322 byte By hilhender at 2007-9-26 7:20:15
I have installed the jre1.3.1_01 for LimeWireLinux.bin (required).bash#sh LimeWireLinux.bin(return this message)No Java virtual machine could be found from your pathenvironment variable. You must install a VM prior torunning this program.What do I about this? ...

Where is MToolkit ?

342 byte By TingH at 2007-9-26 7:20:53
Under Class Toolkit, getDefaultToolkit() method. The document says: If the system property does not exist, then the default toolkit used is the class named "sun.awt.motif.MToolkit", which is a motif implementation of the Abstract Window Toolkit. I have trouble finding the class MToolkit, ...

JNLP Security Question

602 byte By jukka at 2007-9-26 7:20:58
Hello Java WebStart developers,I am creating dynamic JNLP-files in order to pass user credentials to an Applet. On the other hand I want to stop peoplefrom saving the JNLP-file to their local systemand then executing it later with the same user credentials.That is why I need to verify that the ...

classpath

753 byte By Patric Bechtel at 2007-9-26 7:21:12
Hello everyone,I've a strange problem. Don't know if can be solved.Imagine, I've the need to scan the whole possible packagesavailable including all classes. As Java Web Start does not setthe java.class.path property, I see no proper possibility to getthis list.The background is a scripting ...

Transparent Applets

171 byte By harbieber at 2007-9-26 7:21:49
How can I create a transparent applet without using JApplet. I don't want the empty parts of the applet's panel to cover the html-page.thanx 4 help.

change java application to exe file

188 byte By holly_xin at 2007-9-26 7:21:50
I want to change the java application(*.class)to the exe file in WIN OS in order to update its speed, can anyone tell me some useful infomation? thanx in advance.Holly

AWT error on Solaris, please help

15216 byte By Jean-Matthieu at 2007-9-26 7:23:20
Hello all,I have designed a class to convert any picture format to WBMP using Jimi via a web browser. The user specifies the file to convert on his computer and presses a OK button. Then, the file is converted and saved tothe server.When running it on a windows computer, everything is ok. But I ...

Download Optional Package problem !

815 byte By johanvdv at 2007-9-26 7:23:32
Hello,I have a problem with the download optional packages. I have an applet bundled in a JAR. I have some properties files (plain text) bundled in another JAR. In the applet's Jar's manifest file I put Class-Path: properties.jarThe properties files are in properties.jar. THis Jar is in the ...

date format

393 byte By applettea at 2007-9-26 7:24:07
hiI created an application with JDK1.1.7 and compiled a JAR file, which runs fine on my development PC. I have installed a latest version of JRE on a test-PC. However, the application is not able to parse my date functions on the test-PC. The date settings of both PC are the same.Why is this ...

JWS Splash Screen

322 byte By jvigna at 2007-9-26 7:24:11
Hi ,Is there any way to change/customize the splash screen of Java WebStart without violating the copyright.The client is complaining that since JWS launches the application with its Splash Screen , the application tends to look like a SUN product. Any help is appreciated . Thanks,Vigna ...

NoClassDefFound with PlugIn 1.3.1, not with PlugIn 1.1!!!!

2886 byte By anloleo at 2007-9-26 7:24:28
I try to run applet into IE 5.0, but I've got the following error on the Java-Plug-In console.Java(TM) Plug-in: Version 1.3.1_01Using JRE version 1.3.1_01 Java HotSpot(TM) Client VMUser home directory = C:\WINNT\Profiles\LOLEOjava.lang.NoClassDefFoundError: ...

shut-down java-plug-in

187 byte By anloleo at 2007-9-26 7:24:40
How is possible shut-down java plug-in? Also if I close all IE windows on my desktop, the Console remain active and I can pop-up it using the icon in Windows systray!

Runtime Execution of Perl file

82 byte By anpad at 2007-9-26 7:24:54
I want to run perl executable file i.e. parser.pl at run time

J2ME

253 byte By joka at 2007-9-26 7:24:56
Hi!Does anyone know of any implementation of J2ME on Windows CE? I know that there is WabaSofts WabaWM that can run some Java applications on Windows CE. What if I want to run a midlet on Windows CE?RegardsJohan

AppletContext within ActionListener..Help!!

1440 byte By reddyumamaheswar at 2007-9-26 7:25:07
Hello,How can I use AppletContext in actionlistener that is being called by an applet in another class. All I need is on click on that applet, I wanted to open a document or an HTML page. I am using this code, Please see below and help me.import java.awt.*;import java.awt.event.*;import ...

JWS and JNLP

639 byte By rradspieler at 2007-9-26 7:25:31
Hi,I'm new to JWS and I'd like to know if I understand some things right.1. If using <all-permissions/> you don't need to use jnlp-classes, you can just develop a standalone-applicaion 2. you just have to use this classes when accessing local resources out of a restricted execution ...

Download error in windows 95

482 byte By gs03ann at 2007-9-26 7:26:27
Hi,We are using windows 2000, and NT. WebStart works well under these OS. We do have a machine running windows 95 and webstart is giving the following error:JNLPException[category: Download Error : Exception:java.net.UnknownHostException: qa-mvrii.ins :LaunchDesc: null ]Any Suggestions...We ...

Bad MIME type on the sun demo site

619 byte By chamal at 2007-9-26 7:27:09
Hi,I am evaluating java web start for a project. I am running IE5.5 on win2K workstation. When I click on the demos I get the following error.An error occurred while launching/running the application.Title: Draw 4Vendor: Sun Microsystems, Inc.Category: Download ErrorBad MIME type returned from ...

Bad MIME type

2024 byte By vcheethirala at 2007-9-26 7:27:19
Hi,I'm pretty new to JWS. I created a simple 1 class swing application and trying to launch it through JWS which gives me a Bad MIME type error and the detailed exception is JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]at ...

How to execute app from code in Mac OS X?

268 byte By boomboom212 at 2007-9-26 7:27:35
I would like to launch another application from my Java code which will run on OS X. Doesn anyone know how to do this? I think it involves the "Runtime.getRuntime.exec()" method, but I'm not sure how to tell it which application to launch.Thanks

Can't start J2EE server

2480 byte By taoli16 at 2007-9-26 7:27:42
I'm using JDK1.3.1.0.1 and J2ee1.3. When I tried to start the j2ee using "j2ee -verbose", I got following errors. Since it says the problem maybe caused by "TCP/IP port used by another process", I changed the port to 5050 from 1050. But I still get the same error. Does anyone why this is ...

Accessing a JAR file by name

294 byte By boyerdk at 2007-9-26 7:27:51
I need to be able to enumerate the contents of a jar file and I'm trying to use ZipFile to do this. I can get this to work outside of WebStart by passing the filename to ZipFile. Is there a way for me to reference a jar file by name from within WebStart?Thanks in advance.

Using Runtime.Exec() on a JSP page

2420 byte By GinaR at 2007-9-26 7:27:53
I need to run a command on a JSP page. The source code is:<%@ page contentType="text/html;charset=WINDOWS-1252"%><%!class StreamGobbler extends Thread{InputStream is;String type;StreamGobbler(InputStream is, String type){this.is = is;this.type = type;}public void ...

JRE load time for a .jar file extends to 5 minutes

1180 byte By BezugliyY at 2007-9-26 7:27:57
I have been playing with an applet that has an internal buffer allocated as a String in the heep. One day I needed to test what happens if I allocate a huge amount of memory this way, exacly 1 Meg. The applet loaded and worked just fine. Then I extended it to 4 Meg and it stuck. It didn't ...

java.exe return codes - windows

730 byte By dnelson at 2007-9-26 7:28:04
I have a java application being run from a batch file on WindowsNT4sp6a using Sun's j2se 1.3.0 (build 1.3.0-C) with Java Hotspot (TM) Client VM (build 1.3.0-C, mixed mode) and during the course of running the app (confirmed that it happens at different places in the app by observing logs), the ...

Error using JnlpDownLoadServlet

1531 byte By susant2 at 2007-9-26 7:28:12
Hi , I have a newbie question for anyone that can help:I have been struggling for the last week and can't get the servlet to run in either basic or version-based download mode and would like to ask the following questions :1. As per Sun's "Packaging JNLP Applications in a Web Archive" , I ...

Error using JnlpDownloadServlet

452 byte By susant2 at 2007-9-26 7:28:17
Hi,I wanted to clarify question #3 in my previous message .. 3. If I start Tomcat 4.0 and place "HelloJNLP.war" in "\ApacheTomcat4\webapps" directory and launch with " http://localhost:8080/app/launch.jnlp" , I keep getting HTTP 404 error.Can anyone tell me the exact sequence they took to get ...

web server and setting up mime type

374 byte By Rama_um at 2007-9-26 7:28:18
All,We have written a httpd server program that handles http calls. I want to use this server to execute jnlps. I am confused as how to set the jnlp mime type on this server. Anybody has their own server and able to set the mime type? or is there any idea anyone has to set up mime type?Please ...

Problems using JNLDownloadServlet with Tomcat 4.0

5292 byte By bokonan at 2007-9-26 7:29:01
Hello again,I'm having problems trying to get the download servlet working with Tomcat 4.0, which was officially released this week. An application that was successfully deployed using Tomcat 3.2.1 fails to work with version 4.0. To use version 4.0, I had to "tighten up" my WEB.XML file, to ...

plugin faq?

614 byte By bsheepw at 2007-9-26 7:29:03
i have two question about the plugin1. what's is the difference with plugin for US andfor international? (i18n.jar?..)2. are there any plan (from SUN) to minimize plugin sizeby taking out standard JRE?.. i read the plugin is huge because they have included into standard JRE.or does this plugin ...

When will java 1.4 available on Macintosh ?

146 byte By longlhp at 2007-9-26 7:29:05
I tried to look on http://developer.apple.com/java/ but it didn't have any information about java timeline.Thanks in advance

bundle he class files?

147 byte By jimti at 2007-9-26 7:29:14
Hi, Could someone please direct on how to 'bundle the class file' with my applet.Any help greatly appreciated,

How to disable JSObject print in java console ?

330 byte By mindterm at 2007-9-26 7:29:31
When I invoke call() function of a JSObject, it will print following message in java console. How can I disable it ? Evaluate __pluginVar668=self.getTransferStatus() = no Evaluate self.getTransferStatus = function getTransferStatus() { return document.transferForm.dail.value; } many thanks M.T. ...

applet not running in browser?

117 byte By sethan at 2007-9-26 7:29:55
Hi What is the reason why an applet will be running in appletviewer but not in a browser?

Unhandled IOException errors

1213 byte By deanvs at 2007-9-26 7:30:09
Hi All,I am attempting to start certain processes on my Sun Blade 100 workstation but Im being prompted with the following error messages:Unhandled IOException caught java.net.ConnectException: Connection refusedjava.net.ConnectException: Connection refusedat ...

Full-Screen Windows

122 byte By obdulin2000 at 2007-9-26 7:30:10
Hi everyone!!Do you know how I can open a window in a full-screen mode using jdk 1.1.8?Thanks.

How to show a window without the window bar?

172 byte By obdulin2000 at 2007-9-26 7:30:40
Hi everyone!!I need to show a window without the window bar that contains the buttons to maximize and minimize and title.Any idea?Thanks.

Why using big JARs when single components could be distributed

729 byte By claudio_russo at 2007-9-26 7:31:11
We are facing a problem with our Java application distribution, since the software house sends us large JARs (around 10Mb) which must be deploy to our branches at around 64Kbauds, taking at least an hour for each one. When we look at the changes, only a few 100Kb where changed (only 10 or 20 ...

Plug-in 1.3.1_01: cannot verify the CA Root

2513 byte By lugeon at 2007-9-26 7:31:17
Dear,I try to use my signed applet with the new version of the plug-in, and it doesn't work: The plug-in is unable to check the CA Root certificate. The following trace and a dialog box appears when I launch my html file (the dialog box is a warning to tell me that the plug-in is unable to ...

VM Packs with IA NOW!

367 byte By mwrfsu at 2007-9-26 7:31:18
All,I have downloaded InstallAnywhere 4.0 and have found out that the highest JVM available is 1.1.8 (does not support Swing) unless I build my own VM pack. A VM pack is what they use to bundle a VM with your application. I was wondering if anyone else has built their own VM pack for Java 2.Any ...

How To Find Systems Max Pixel Size

398 byte By smitha1234 at 2007-9-26 7:31:51
How to find out the maximum pixel size of system,i wrote one swing application using Jframe..but i couldn't make visible for full screen...if i run indiff system(diff settings) its appearing in diff size...if i have max size of screen i can run the applicationfor full screen.. any one help me ...

Can I create a JAR file by WinZip?

273 byte By jingc3 at 2007-9-26 7:32:22
Hi,My questions are:1. I know that WinZip can view the content of the JAR file. But can I create a JAR file by WinZip? 2. If I simply add files with path information into the JAR file through WinZip, will it work?Thanks!Jing

Java Plug-in 1.4.0 not working with IE5.5

1184 byte By wloucks at 2007-9-26 7:32:47
The Java Plug-in 1.4.0 works fine with NS4.75 butgives me the following error with IE5.5:java.security.AccessControlException: access denied (java.io.FilePermission france.gif read) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:273) at ...

How do I enable debugging in beans.ocx

571 byte By dmarcillo at 2007-9-26 7:33:16
I am successfully running a Java Web enabled Application in Windows 2000 IIS Server.The application is accesses via Active Server Page (ASP) COM object interface enabled by Sun JavaPlugin-ActiveX Bridge . The application works great, it is using Java version is 1.3.1.I need to enable debug in ...

Selecting which JRE to invoke

145 byte By Magnus@TAC at 2007-9-26 7:33:18
Hi!I have some different JREs on my machine. Exactly what mechanism decides what JRE (jvm.dll) is used?Magnus

appletviewer launches applet 2 times

1016 byte By hazeyc at 2007-9-26 7:33:29
I used the HTMLConverter to convert my simple html file for use on ie 5.5. When I run the html file using the appletviewer it loads and runs the applet program 2 times. I am on windows 98, using the 1.3 version of Java plug-in. How do I get one applet window?Here is the HTML Converted ...

Nesting components in an Applet

928 byte By gfuzz_k at 2007-9-26 7:33:47
I have an applet which contains a keyListener and a PanelA. PanelA contains PanelB.PanelA was added to the applet by using add(). PanelB was added to PanelA using the same method. The problem is that when I add PanelB to PanelA, I can no longer catch key strokes. When I close the Applet, I get ...

DecimalFormat error

711 byte By tom.cain at 2007-9-26 7:33:53
Can anyone tell me why the following code prints false?Locale locale = Locale.FRANCE;DecimalFormatSymbols symbols = new DecimalFormatSymbols(locale);String pattern = "#,##0.#";DecimalFormat df = new DecimalFormat(pattern, symbols);double d = 1234.6;String s = df.format(d);String cmp = "1 ...