how to read/write directories after "jar"***

431 byte By varun_tayura at 2007-11-26 23:47:47
hello, without giving the absolute path,i have not been able to read/write directories from the "jar" files.kindly help me out.please tell me how to find current directory into which the "jar" file was pasted/is currently running from.the relative path say "directory1/firstDirectory" is not ...

Start an executable JAR from my java application

754 byte By lmazuriera at 2007-11-26 23:50:51
Hello all,Basically when I press a button in my application, I want to start an executable.jar from my application.I have tried those 2 things:Process p = Runtime.getRuntime().exec("...javaw.exe\" -jar ...executable.jar");andProcess p = Runtime.getRuntime().exec("java -jar ...

Deploying an applet using the Object Tag

571 byte By CynthiaCa at 2007-11-26 23:53:48
Where does the classid value come from?ie: document.write('<OBJECT ','classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"','width="200"','height="200">','<PARAM name="code" value="Applet1.class">','</OBJECT>');I am trying to deploy an applet using javascript in a ...

Programmatically remove an old Java Webstart application

629 byte By fire_storma at 2007-11-26 23:54:28
i previously published a webstart application at some URL,and users downloaded my app (and it created desktop shortcut icons, file associations, etc.)now I publish a standalone Java application with a full installer and everything.my problem is: old users now see 2 icons - the icon from ...

how to connect to online database

127 byte By shyam.kenchaa at 2007-11-26 23:55:52
Hello , I Need Some help in acessing the online data base wthout using webservices can any help me in these topic

unable install bdk1.1

175 byte By LDevia at 2007-11-26 23:57:30
I tried to install bdk1.1 and it is giving an error that jvm is not found or the jvm is too old. and i have jdk1.5 installed in my system.give me the solution for this.

Java 6 Webstart cache

554 byte By NickDGa at 2007-11-26 23:58:01
We have an application developed on Java 5. It is downloaded and run via Web Start. After the application is downloaded, the main class scans for JARs that contain a special manifest file to determine the plug-ins to load.Using Java 5 the application is nicely cached on the filesystem and we ...

java se zip release

382 byte By Gergelya at 2007-11-26 23:58:12
Dear All, Does anyone know why has been the java se zip release removed from the download section? Long ago it was a possibility for experts to download the whole jdk in one archive. I need it because I'd like to try the java 6, but I use java 5, and i don't want any trouble after a new jdk ...

encounter setContextClassLoader security excepiton.

453 byte By neoarta at 2007-11-26 23:59:09
Dear All: My web start is running on jdk1.4.1 jvmSince the web start APP is getting bigger and bigger when more user invovedI have to separate jars (download and use classloader to loading jar)But when I attempt to setConextClassLoader of current thread,web start shows the exception of security ...

unable to run under jre 1.5.0_11 after uninstall of jre 1.6.0_1

1218 byte By jarshea at 2007-11-27 0:02:56
I am experiencing the following scenarios and could use some ideas and or help. Background:I have an application that is launched via webstart from a shortcut on the desktop. The jnlp file indicated the need for jre 1.5.0_11. Scenario 1:I have jre1.5.0_11 installed on my box - The application ...

One-JAR with JNLP/Web-Start

2014 byte By Surya_Fidelitya at 2007-11-27 0:09:15
My Problem is: I have built the swing one-jar application(which contains boot package, main/main.jar(my application) and lib/*.jar(database jar and some external jars) and images folder). Bundling all jars into a single JAR (Source: http://www-128.ibm.com/developerworks/java/library/j-onejar/) ...

bundling all jars into single jar (one-jar) and run this jar from web start

1445 byte By Surya_Fidelitya at 2007-11-27 0:09:22
hi i am new to java web start. I am not sure whether this is possibleIssue: I am bundling all jar files into single jar file. Which is a greate solution... (I got this solution from : http://www.developertutorials.com/print/215.html or ). It is woking fine when i double click this ...

Set Java Web Start trace level

629 byte By bradleyjamesa at 2007-11-27 0:09:58
I'm running Java Web Start from JDK 1.6. I've enabled the following options in the Java Control Panel:1. Advanced -> Debugging -> Enable tracing2. Advanced -> Debugging -> Enable logging3. Advanced -> Java Console -> Show consoleWhen I start my application the console is ...

Creating table with JTable

280 byte By sownaRajkumara at 2007-11-27 0:13:10
Can any one help me to create table using JTable. In that, I have to do1. Have to insert rows and columns through coding.2. Have to delete a certain rows or columns through coding.3. Have to set a event for a particular column(s) or a particular row(s)

unchecked error when compiling my previous project with the new jdk 1.6

316 byte By Irvina at 2007-11-27 0:15:55
After modifing my code which was written in j2sdk 1.4.2_09, the compiler throws a:warning:[unchecked] unchecked call to the add(E) as a member of the raw type java.util.Arraylist.Does any one know how to check the string being added, all necessary checks done before trying to load the ...

unable to locate java.lang

1439 byte By mocasua at 2007-11-27 0:16:41
Hello,Could anyone tell me why when runnig the batch file I get the following error:unable to locate java.lang packageI have set up the envionment variables as follows:CLASSPATH=c:\j2sdk1.4.2_14\libPATH=c:\j2sdk1.4.2_14\binI would highly appreciate any help. I would like to get this simulator ...

jdk-6u1-nb-5_5-win-ml.exe installation problem

866 byte By basaka at 2007-11-27 0:17:18
Hi!I am trying to install jdk-6u1-nb-5_5-win-ml.exe on my computer but during the installation wizard I get the error;WARNING:cannot instantiate string resolver method com.installshield.util.LocalizedStringResolver:com.installshield.database.ISSqlException:Table already ...

how to sign jar

40 byte By fire_storma at 2007-11-27 0:19:11
how do i sign a jar for webstart?

Classpath issue when running from a jar file!

13027 byte By PeteFa at 2007-11-27 0:19:39
Okay. I am very confused now. I have a very simple program developed using netbeans. When I run it using netbeans, it works perfect. When I run it using the following command with the jar file that neatbeans creates, it works great:java -jar TestApp.jarI have written an ant script, when I try ...

Reimport class and update manifest file to jar file

774 byte By Lehoanqa at 2007-11-27 0:26:18
Hi there,I have a signing jar file, its META-INF/MANIFEST.MF file has digest values, something like this:Manifest-Version: 1.0Created-By: 1.5.0_06 (Sun Microsystems Inc.)Name: abcd.classSHA1-Digest: l7+fWxVnj2DIDb0a6FyUGxlNPUY=Name: xyz.classSHA1-Digest: qy/F9+YzIX6XrYd7kcHxLzXayjI=Is there any ...

Unable to access a bean dll in J2RE1.4.2_11

668 byte By saratvrba at 2007-11-27 0:28:41
ASP page which was hosted on IIS is hung forever without any rendering when I am trying to access the java bean functionality through a bean dll which was placed under J2RE1.4.2_11\axbridge\bin and being registered with windows registray using regsvr32 command. In the eventviewer I am not ...

New to jsp

626 byte By terri995a at 2007-11-27 0:28:50
I'm taking my first java class. The code provided lets a user select a book from a list of books stored in an access database. This is done in books.jspUpon selection of a book, you click a button and bookDetails.jsp gets called. It selects the details of the book from Access. bookDetails.jsp ...

Cannot run jar file.

707 byte By monkeya at 2007-11-27 0:30:42
I try to run my jar file which generated by netbeans and I get the following errorC:\java -jar filename.jarException in thread "main" java.util.zip.ZipException: The system cannot find the file specifiedat java.util.zip.ZipFile.open(Native Method)at java.util.zip.ZipFile.<init>(Unknown ...

how to encrypt jar files ? (please recommand tool to secure java class file

530 byte By neoarta at 2007-11-27 0:31:55
Dear All: After release of our webstart application,I begin to worry about the source code -anti compiling if jars are extracted by un-knowen user.Is there any tool to secure specified jars of a webstart application (wich is composed of lot jar files,I just only want to secure the "KEY" jar ...

WebStart Unable to load resource/ZipException

5767 byte By Mark0x00a at 2007-11-27 0:37:43
Hello,I am trying to get webStart to work and cannot seem to get around the following issue:Upon clicking my go.jnlp file in Firefox, the "Java Loading" screen appears and then the webstart reports a download error.The errors are: Exceptioncom.sun.deploy.net.FailedDownloadException: Unable to ...

Jar files sometimes handled by WinRar?

351 byte By Jiddoa at 2007-11-27 0:37:55
Hello!I've made a Java program and I released it a week ago or so, but I've gotten several wierd reports about the end-users not being able to run my program's .jar file. Some claim that it is opened as an archive by WinRAR, which is absolutly not what I wanted. Are there any good ways to ...

Auto-update to the last JRE version?

716 byte By Jiddoa at 2007-11-27 0:38:01
Hello!Many of the users of my programs have been having problems runnign my programs since the users does not have the last JRE version installed, and altho it works to include the online installer for the current Windows version, it is not an effective method. So, what I wanna know is if there ...

Webstart and Classloader

957 byte By vbricha at 2007-11-27 0:38:06
I am having issues writing a small webstart app that connects to a db. I know it has to do with my class loader, but I must be missing a key concept. Class.forName("oracle.jdbc.driver.OracleDriver"); // works fine as standalone application, but needs to be modified since it does not work with ...

problems with creation of JAR file

1672 byte By CbbLea at 2007-11-27 0:38:33
Hi!I can't succeed in creating a JAR file for my application.I've followed the guide at http://java.sun.com/docs/books/tutorial/deployment/jar/basicsindex.htmlbut apparently im doing something wrong....I've tried doing an extra Manifest file aswell as "Setting an Entry Point with the JAR ...

Auto-update API

143 byte By raykroekera at 2007-11-27 0:38:42
Is there a way my software can access a private JRE's (one distributed with and used only by my product) auto-update api?Raymond

Configuration of logfile name in Java Webstart of Java 1.6

679 byte By th.wma at 2007-11-27 0:39:35
Hello,at Java 1.4 it was possible to configure a logfile name in the tab 'Advanced' of Java Webstart settings.How/where can a logfile name and directory be configured/changed in Webstart of Java 1.6?And additional question:I found logfiles with the extension .log.1, .log.1.lck, .log.lck in my ...

Problems with Java Web Start 1.5

1233 byte By dsandreia at 2007-11-27 0:40:08
Hello,I'm having a bit of a problem which i don't know how to approach concerning Java Web Start 1.5. My company has a web application running under Tomcat and a DB2 database. This application has a few "standalone" sections which are downloaded via JNLP and launched via Java Web Start. ...

getting Java Web Start to load a application that integrates OpenOffice.org

3961 byte By Pratik.Desaia at 2007-11-27 0:40:23
Our application need to acces OpenOffice API'S to do some manipulation on open office documents like loading and manipulating .xls files on client file system etc. I have included all signed OpenOffice.org jars (juh.jar, jurt.jar, ridl.jar, unoil.jar and some others) as resources in the jnlp ...

Problem with installer of jar file....!!!

504 byte By Bnahirraoa at 2007-11-27 0:48:07
Hi All,I had created a installer of my java application. after the installation when i click on jar file,jar file will execute but not locating to installed program files folder.But if i set the Startin property of shortcut (Start-->Programs-->Folder-->JarFile--> Right ...

start an application automatically, while tomcat web server start. urgent..

177 byte By brucelia at 2007-11-27 0:48:48
hai. i want to start an application automatically, while server starts. please help me. i am using tomcat web server. please . this is urgent.pleasee..............

Problem programatically created jar (NoClassDefFoundError) Help Please

428 byte By KDeepa at 2007-11-27 0:50:10
Hi,I created a jar file using java.util.jar. It contains all the file reuired for my application (including main). When I try to launch the application from command prompt using above jar in classpath, I get NoClassDefFoundError. Even though class is there in jar, in right path.Please help me ...

javaws and vista : doesn't work ?

1214 byte By grinszjua at 2007-11-27 0:50:12
Hi,i have on big issue on vista : i can install my application and run it "online", but if, after, i want to launch it via the shortcuts (on the desktop or in the startup menu) there is an exception.=> Javaws try to download jre1.6 but it can't. On the vista machine i have the jre1.6 (last ...

JNLP copy/paste with Swing components

1297 byte By anthonypereraa at 2007-11-27 0:51:12
I have a simple JNLP application. When a window pops open asking for permission use the System clipboard I click "Yes". In the main-class file I call the following static function to initialize my Clipboard service:public class FDW_Application {....public static ClipboardService cs; public ...

About the license of Java Web Start & JNLP

120 byte By Atreidea at 2007-11-27 0:57:03
Is this technology open source, so i can use it in commercial applications while i respect the GNU?Thanks.

Two JREs and Two applications

345 byte By tsalikia at 2007-11-27 0:58:18
I have two applications. One should run on jre 1.4.2 and other should run on 1.5.0. Both JREs installed manually on local machineWhen I run my first application It is unable to find 1.4.2 and fails to run. The second application is running successfully on 1.5.0.Appreciate any Idea or ...

JAR Not Executable!

405 byte By whybothera at 2007-11-27 0:59:22
I have tried making an executable jar file. However, it just tells me that "Can't find the main class. Progeam will now exit". Yes, I have made a manifest file:Main-Class: EnurScapeThe main class IS EnurScape, but it refuses to load even though the EnurScape class file is where it should ...

java EE 5 SDK Start Default Server Problem

14472 byte By tonydosa at 2007-11-27 1:05:32
Hello,I'm trying to run the Java EE 5 SDK Server in Windows XP Home Edition and it doesn't appear to be working. When I enter http://localhost:8080 as instructed in the Quick Start Guide to verify that the server is running, I get a "Cannot find server" error. I don't know if this might be ...

javax.servlet.ServletException: Error instantiating servlet class

12401 byte By gebuehra at 2007-11-27 1:11:27
Hi,I habe a problem with a Servlet. When I start Tomcat (Version 5.0.28) I get following Exception in the Log-File:2007-04-16 13:26:41 StandardContext[/ukeWebPortal]Marking servlet AbstractQmhPortalServlet as unavailable2007-04-16 13:26:41 StandardContext[/ukeWebPortal]Servlet /ukeWebPortal ...

Connection with an excel document

480 byte By Atreidea at 2007-11-27 1:12:16
Hi, I have a program that use a excel document as database, I get the data with the library JExcelAPI.The application works fine, giving in the code the path of the document ("c:\book.xls"). When i use JWS i use the path "..//book.xls", but the program cant read from the excel, thats is located ...

Java 1.6, shortcut creation, and SSL urls

2373 byte By jgreenAtWorka at 2007-11-27 1:14:24
Hi,We have a Web Start application that communicates with the server using SSL. When a user first accesses the app, a shortcut can be created on the client's desktop. If that user is using JRE 1.6 and clicks on the shortcut to start the app, the following exception is displayed when the app ...

Problem in accessing files outside jar

416 byte By schooltiger@walla.coma at 2007-11-27 1:18:38
Hi,I doing a project that includes myapplication jar provide the services by reading the properties.xml file which is outside the jar file, my application reads the properties AsInputStream inputStream=MigrationInstances.class.getResourceAsStream("properties.xml"); It is not working after my ...

JNLP classpath precedence 1.4.2 vs 1.6

443 byte By Burta at 2007-11-27 1:21:55
Hello,I have a JNLP file that gets it's classpath defined through the order in which jar files are place inside the JNLP. This works fine for JRE 1.4.2 but now with1.6 it appears the precedence order has changed. Is this common practice to define the classpath through the jar file orderings in ...

SocketException

233 byte By tanww888a at 2007-11-27 1:24:00
I've created a webstart program to upload a file using ftp (socket), and I got an SocketException: Reply From SOCKS server has a bad version.Does anyone know what does it mean? Thanks for any help.Regards,Johnny

Getting: javax.jnlp.UnavailableServiceException: uninitialized

891 byte By Deficiency1984a at 2007-11-27 1:28:31
Hi community!I have a Problem with my WebStart Application:When i make this part of code:try {PersistenceService ps; BasicService bs;ps = (PersistenceService)ServiceManager.lookup("javax.jnlp.PersistenceService");bs = ...

Define default JVM plug-in

329 byte By jplauxa at 2007-11-27 1:28:52
After an automatic update of JVM, the plug-in is now JAVA 1.6.I would like to define JAVA 1.5 as default plug-in and I didn't find the option in the Java Control Panel.I made searchs on Internet without find a right solution (MIME type are not the solution).Does a solution exist to solve my ...