cab file specifcation for 1.3.1

65 byte By deasley at 2007-9-26 1:50:11
What is the cab file specification for 1.3.1 in IE?

Java applet and Linux RedHat7.1 kernel 2.4.2-2

1853 byte By andreytgf at 2007-9-26 1:50:24
Hello.I have really interesting problem...I am trying to run java applet in different env.:#1. windows2000, sun java1.3.1, webstart 1.0.1;#2. linux RedHat 7.1 kernel 2.4.2-2, sun java1.3.1, webstart 1.0.1;#3. linux RedHat 7.0, kernel 2.2.16-22, sun java1.3.0-01, webstart 1.0.1;#4.SunOs5.8, sun ...

Getting the jar file a class was loaded from?

673 byte By jesielionis at 2007-9-26 1:53:42
I apologize if this question has been asked and answered already in this forum, but I've searched and have not found it.I'd like to know if it's possible to tell if a particular class was loaded from a jar file, and if so obtain a handle to that jar file.I've seen lots of examples where ...

How to start Java Pet Store? -help!

6801 byte By huimu at 2007-9-26 1:54:28
I download Java Pet Store, according to install.html, I do:(set JAVA_HOME, J2EE_HOME)1. Start the Cloudscape database server.C:\j2sdkee1.3\bin>cloudscape -start2. Start the J2EE Reference Implementation server.C:\j2sdkee1.3\bin>j2ee -verbose 3. Start the J2EE Reference Implementation ...

Installing Java-plugin 1.3

1011 byte By BarkatzD at 2007-9-26 1:56:30
Hello,I have problem to install Java-plugin 1.3 on the OS Solaris.In the doc, they say: Set the NPX_PLUGIN_PATH environment variable to the directory containing the javaplugin.so file. On SPARC, for example, the directory of javaplugin.so in the default installation location will be ...

jsobject in java plugin

87 byte By cuts at 2007-9-26 1:56:46
Hi all,how to enable JSObject in java plugin?Thanks!

JavaHelp: Trouble with embedding it to the application

236 byte By spunk at 2007-9-26 1:57:30
Hi, I've got problems with getting the connection between the menuItem help and the real onlineHelp. HelpSet, Map etc. exist and run. Is there someone who could help me or send me an exampleCode?Thanks *****

Example of Extension installer ?

248 byte By ylamoure at 2007-9-26 1:57:58
HiAnybody has an example of a JNLP application that uses an installer (installer-desc) ?I am tyring to make one, but somehow, I cannot get the application to start after the installer finishes...cheersYann.

JDBC connectivity problem

1381 byte By beeru at 2007-9-26 1:59:30
Hi all,iam writing a prototype java webstart application and i am getting the following error message when i am trying to connect to the mysql on my LOCALHOST, this does not give me problem if i run it in a client server mode.can any one solve the problemadvance thankserror messageJava Web ...

JWS 1.0 - JWS 1.0.1_01 Security

269 byte By MihalyB at 2007-9-26 1:59:32
Hi, Can anybody tell why an application that runs with "all-permissions" security under JWS 1.0 is complaining of unsigned programs using JWS 1.0.1_01?The programs are signed using a self-signed certificate. Thanks, Mihaly

Tomcat on Win ME

563 byte By tomcatz28 at 2007-9-26 1:59:50
Hi everyone,I've downloaded Jakarta-tomcat4.0 beta version. Installed on my desktop (Win NT) and my labtop (Win ME). On my desktop, tomcat is working fine. But it didn't work on my labtop.On my labtop, under tomcat\bin\ dir I have some more extra files which I don't have in desktop such as ...

isResourceCached problem

727 byte By tinca at 2007-9-26 2:00:19
Hi,I need to check independently of JWS if my app.jar is up-to-date (clients are mostly disconnected, due to dial-up access, so the app is offline-allowed. Instead of the error-prone external ways of dialing, our app is supposed to do it automatically. Being off-line jws can't check for ...

running a jar

483 byte By bhuvana_76 at 2007-9-26 2:04:53
hiI am using JDK1.2.2 with RedHat Linux 6.2. I tried to run a jar after the jar file creation like this:jar cmf helloclass hello.jar HelloWorld.class helloclass is the manifest file which contains the following: Main-Class: HelloWorldAnd i tried to make run the jar file as:java -jar hello.jarIt ...

Java 2 SDK problem under Redhat 7.0

717 byte By idIaZaN6 at 2007-9-26 2:05:25
I'm using RedHat Linux 7.0 (kenerl 2.2.16.22, libc-2.1.92.so).I downloaded Java 2 SDK v 1.2.2_008 for Linux from sun.java.com, and installed it to /usr/local/jdk1.2.2 However, I couldn't run any Java command. When I try to compile any java source code, for ...

Performance issues using CAS COM bridge

298 byte By knoxor at 2007-9-26 2:05:46
Hi,I have a question for anyone who has produced an application using the CAS COM Bridge.With every call to the Java class, do we create a new JVM, an if so would this not lead to performance problems if we have multiple calls to the Java class ?thanksPaul

Minimize icon instead of restore in Windows L&F

994 byte By shayl at 2007-9-26 2:07:23
Hi. The following code shows a simple JInternalFrame in a JDesktop applet. When minimizing the JInternalFrame notice the icon of the frame still shows MINIMIZE and not RESTORE.Any fixes/comments?Thanks.import javax.swing.*;public class Tap2 extends javax.swing.JApplet{public Tap2() ...

Interfacing problems using the Activex Bridge

2120 byte By wetfish at 2007-9-26 2:08:21
I have a bean that's based on a JPanel. I am packaging it and then using it in Visual Basic as an OCX component. I have to adhere to an interface on the VB side so that the bean will plug into the rest of our product.I'm hitting several problems, all of which I'm attributing to to the fact ...

Setting MIME type in IIS 4 & 5

2751 byte By greghug at 2007-9-26 2:09:21
Well I am very impressed with this Web Start technology but it was a little slow downloading via sun's site.I set about trying to set it up on my company Intranet server before I demonstrated to my IT director.I saved the swingset2.jnlp file from the sun demo's page, used the Swingset2.jar ...

Can someone give me a concise way to make JAR file?

643 byte By rpk5928 at 2007-9-26 2:09:30
I read through Sun's steps to make the JAR file, but i can never execute the file using the "java -jar filename" command. I always get a "Main Class not found" error. I have JRE 1.3.1.The file structure is kind of weird. All the class files are in a package called PHYSICS. Do i have to create ...

Java Web Start and BEA Weblogic 6.1 beta

1429 byte By johampton at 2007-9-26 2:10:29
Hi,I'm having trouble access ejbs from java web start with WLS 6.1. I get the following ClassCastException:java.lang.ClassCastExceptionat com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)at javax.rmi.PortableRemoteObject.narrow(Unknown Source)at ...

Object XXXXDispatch Failed..please help

1169 byte By sai_karthik at 2007-9-26 2:10:44
Hello EveryoneI tried to pack a class containing a simple methode.g:public class Test{public String getName(){String name = "humanbeing";return name;}}I used Visual Cafe with Jdk1.3 to get a jar file and used the Javabeans-ActiveX bridge to get 1. Test.tlb2. Test.reg filesWhen i Opened ...

Help!!! problem with ImageIcon!!!

724 byte By wflm at 2007-9-26 2:12:18
I use ImageIcon in Local's APP no problem,image1 = new ImageIcon(cnopensource.MainFrame.class.getResource("Open24.gif"));I make this APP into a jar for jws.when it excute at the client, The jws console printava.lang.NullPointerExceptionat ...

How to install Linux .rpm.bin

217 byte By FrankJNatoli at 2007-9-26 2:12:49
Downloaded Linux Java release, j2sdk...rpm.bin. Can't find anything willing to process a bin file. Know how to use console rpm or Gnome RPM, but neither will touch a bin file. What to do? Thanks.

JWS - Printing & File IO Security Preferences

514 byte By greghug at 2007-9-26 2:19:46
After the user has initially said that this is okay and selected "please don't warn me again", does anyone know how to save these settings between program invocations?It is a real pain for the user to keep having to say yes to this every time they restart my label printing application. Most of ...

Deploying a JAR file from Forte

900 byte By djkilburn at 2007-9-26 2:20:35
I have written an application using the Forte CE IDE. Now I want to deploy it to other PCs running JRE1.3, so I used the JAR packager to create a JAR file and I ensured the manifest had the Start class specified. Unfortunately, when I try to run this application via the command line on either ...

Deploying a JAR file from Forte

900 byte By djkilburn at 2007-9-26 2:20:39
I have written an application using the Forte CE IDE. Now I want to deploy it to other PCs running JRE1.3, so I used the JAR packager to create a JAR file and I ensured the manifest had the Start class specified. Unfortunately, when I try to run this application via the command line on either ...

JWS can't find dependent native library

652 byte By GL_Lgb at 2007-9-26 2:21:22
Hi,my JNLP file contains the following snippet...<resources os="Windows"><nativelib href="lib/windows/corelib.jar"/></resources>...where corelib.jar contains several DLL files. The first DLL depends on others contained in the same jar file. Lauching the program under Windows ...

Java 2 SDK non C: drive installation.

269 byte By rontyro at 2007-9-26 2:21:38
Hello. I am a newbie wrt Java.My question is:Is it possible to install JavaTM 2 SDK, Standard Edition Version 1.3.1 for Microsoft Windows onto the D: or E: drive? If yes, how can this be done? Thank you,Ron.

JWS 1.0.1_01 Bad MIME Type!!!!!!!!!

509 byte By lets629 at 2007-9-26 2:22:27
I have a JWS application has been running successfully under JWS 1.0. I like it. However, the JWS 1.0.1 gave me a painful problem:"Bad MIME type returned from server when accessing resource: http://MyTestingSite.com/WebStart/example.jnlp - text/html"I tried the ways that ppl suggested in the ...

Security Question

281 byte By aweinber at 2007-9-26 2:23:03
I tested the notepad sample Application, and noticed that in the jnlp file there is no security tag. Also I saw that the jar file is not signed.The notepad application can read and write files on my local disk.Where are the security restrictions?

Accessing com from java

331 byte By sandeep_saroha at 2007-9-26 2:25:09
I wanted to access the com components of Visio using java. Can anyone help me with the source code as the code will help me in understanding how it does muh better. Hope some one has worked on this problem and have the solution ready, if so please help me.Thanks for all the help in ...

User access control and WebStart

452 byte By ecspasc at 2007-9-26 2:26:34
I'm considering tools and utils for a new project and WebStart looks like it could suit our needs just perfect.Just one little question:If I have a system with multiple applications controlled by WebStart, is it possible to restrict user access?I need to be able to present different selections ...

j2sdk installation on Linux Debian

142 byte By BRoberto at 2007-9-26 2:27:06
I have to setup the environment variable of j2sdk on Linux (debian)How?Thanks!Roberto.(caaib@tin.it)

Error when compiling the J2ee tutorial source files

933 byte By damoncwk at 2007-9-26 2:27:16
HI,I have installed ant, j2ee tomcat-3.2.2 and jdk1.3 and when i tried to compile the source file downloaded from java.sun byant converter, it prompted"Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/main"I am running it on win98 with the autoexec.bat containing ...

Several Jars in one folder

609 byte By MagDy at 2007-9-26 2:29:05
Hello, I have two applications.Both packed into .jar files and uses manifest files so they can be executed by double-click.One firstapp.jarothersecondapp.jarHere is the problem.Either .jar file I click on, the secondapp.jar is executed.Though if I execute them from a command prompt with.Java ...

beginner questions

347 byte By BCBCBC at 2007-9-26 2:29:11
hi all,i am about to read all (...) the jws docs, but i have to know some basics immediatelly...sorry.1. when i have a "normal" application ==> do i have to make LOTS OF changes to use this code for an jws application ?2. where can i download sample code ? thank you all,andi ...

Installing Tomcat as application server

240 byte By BRoberto at 2007-9-26 2:29:23
I have to install Tomcat 4 on a linux machine (Debian) as an application server (that is Apache serves the static content (html) and Tomcat serves jsp file)How can I do ?ThanksRoberto(caaib@tin.it)

Problem with sdk1.3.1 for Linux...

542 byte By mkart5 at 2007-9-26 2:33:08
HiI tried to download sdk 1.3.1 for linux using both Netscape and IE..they downloaded onto my win 2000 machine allright but when I copied it onto a cd and tried to load it on my linux m/c at home it wouldn't load. It reads the file and at exactly 27% it stops and gives an error message. I am ...

1.3 plugin width problem

721 byte By hubes1 at 2007-9-26 2:34:39
hey,i'm having some really annoying issues trying to write Java applets and using the 1.3 plugin. when i try size the applet using the html params of width and height, the applet looks like it's scaled to the correct size. however, when i do a getWidth(), if i set my width to anything less ...

How to call Ocx in swing Component

257 byte By javamaheshb at 2007-9-26 2:37:12
Hi i want to play Flash4 file xxx.swf in swing ComponentJMF Api Supports upto Flash2 only i downloadled Flash4 player which is a ocx file .how can i integrate this ocx in swing Componenthelp me pleaseregardsMahesh.B

Javaw running after closing application

676 byte By erikthered at 2007-9-26 2:38:22
I have noticed that after closing our application which we are running through JWS that there is a program/process still running called Javaw. We are running the application on Windows machines :(. While our app is running, the the list of running programs (when you press ctrl-alt-del) shows ...

Signing jar files - did what I was supposed to but still

438 byte By zivosh at 2007-9-26 2:39:02
Hi all,I signed 1 jar file that has 1 class which creates a fileon c:\I signed it like this:keytool -genkey -keystore myKeystore -alias newKeykeytool -selfcert -alias newKey -keystore myKeystorejarsigner -keystore myKeystore classes.jar newKeyBut web start did not even prompt me for agreement ...

error on zipfile decompression (on method closeEntry)

1504 byte By ericjee at 2007-9-26 2:39:07
At 7/27/01 10:01 AM, ericdev wrote:>Hi,>> I am trying to unzip a file of images to be later processed by JAI. When>I Do a CloseEntry() method on a zip Entry it throws this exception. Any>ideas? Are the files too big? I would think that java can handle any size>zip file. Also, ...

How do you call a JavaScript function from a Java applet

1607 byte By jwatrous at 2007-9-26 2:39:10
I have an Applet that needs to run on the following platforms: Internet Explorer (Windows-NT, Windows -2000), Netscape (Windows-NT, Windows-2000, Sun(Solaris), RedHat(Linux), HP(11.0), IBM(AIX)).The Applet needs to call a JavaScript function that is included on the HTML page that contains the ...

JAR file not running as I expect !!

592 byte By amnonm at 2007-9-26 2:40:05
I am using JDK 1.3.1 and have a bit problem running the JAR file.It seems what after making a jar file from all the classes in my project andrunning it ,all the problems that I had in 1.2.2 comes up.isn't the JVM that runs the jar simular to the one how runs the classes ?why the bugs heppens ...

Plug-in and Native Libraries

1029 byte By RTDog19 at 2007-9-26 2:40:17
I have an applet that runs in the 1.3.1 plug-in. It uses a native library for access to hardware. The applet works fine for 80% of my users, but in some cases I get the following exception: java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\ServiceApps\Packages\myNative.dll already ...

Extension Mechanism for Java Comm API 2.0

335 byte By smay_gers at 2007-9-26 2:40:40
I would like to see what is the JNLP extension file for installing something like standard Java extensions, for example javax.comm has a dll (goes to jre/bin), a property file (goes to jre/lib), and a jar (goes to jre/lib/ext).Perhaps Sun could support a standardized way of installing their own ...

Reading an included data (txt) file when JAR is executed?

1632 byte By sherlockazulu at 2007-9-26 2:41:42
This seems to be a pretty popular question. I've gone through the posts here all the way back to March though and am unable to find a suitable answer. I also checked through most of Sun's Java tutorials on the website and can not find any references to this particular issue with JAR files.I ...

java plugin1.2.2

130 byte By sanora at 2007-9-26 2:42:54
Hi java pluin 1.2.2 is not working with Navigator 4.5, but it works fine with navigator4.0.x? why?San.

An error occurred while launching/running the application.

386 byte By josphselvin at 2007-9-26 2:43:20
Hi,I am using jre1.4. When I am trying to download an application using JavaWebStart its getting downloaded.After finishing the download it giving the below error message.error: Title: SwingSet2Vendor: Sun Microsystems, Inc.Category: Launch File ErrorNo JRE version found in launch file for this ...