697 byte By
vramdala at 2007-11-27 11:59:08
Hi all;I want to package my application as an executable jar (let's call it app.jar), but leave the config (.properties) file outside of it, so it can easily be edited after deployment. The config file should be added to the classpath, so that it can be loaded with ...
Java keeps breaking in Internet Explorer 7. In order to fix this, I have to uninstall both Java and Internet Explorer, and then reinstall them, and after that it will work for a while. Eventually though, it breaks and then gives me the message "Java runtime environment cannot be loaded". This is ...
well, I'm facing a problem with my jar I was creating a digital clock application , I used the class loader to load a font that is not rgestered with my system and it runs perfectly from the netbeans , but when I build the jar it doesn't work as it says that there is a NullPointerException as the ...
320 byte By
fla22a at 2007-11-27 11:50:57
How to un-install those java XXXdemo http://www.airfirst.ch/b2/Ecran05.pngNone result using the remove button ("Supprimer" button in the screen shot).I got them launching demo (orange Launch button) ...
322 byte By
prabh13a at 2007-11-27 11:48:21
I have made an application and now I want to distribute it. My main concern is that class files can be easily decompiled.If jar files can be prevented from being extracted then this may solve my problem or kindly suggest me some way through which class files can be sealed or prevented from being ...
When we generate jnlp file through PHP, it is generally because we need to change something dynamically - no need to use php if the jnlp file is unchanged for all services.(In Windows PC) if one install Java 6 update 2 and the application uses a php generated jnlp (in my case, linux server), the ...
Hi,I am new to JBoss server.I deployed ejb 3.0 application in Jboss 4.0.5. successfully.I am trying to deploy the same jar and ear file in ejb 4.0.4.GA. I didnot change anythimg inthe jar and ear filesI dont see any thing on the server console.It shows "started ear file".But it didnot show that jar ...
361 byte By
geffdea at 2007-11-27 11:42:36
I have a number of small, embedded devices running a Cherokee web server, each with their own IP address and hostname. Each of these devices has a standard image that includes a few applets. Is there a way to make a standard JNLP file that could go in the image but would still work? My concern is ...
105 byte By
his_oWna at 2007-11-27 11:37:10
<p>It won't let me launch from my webserver</p><p><jnlp>codebase has an invalid value: $$codebase</p>
428 byte By
geffdea at 2007-11-27 11:33:30
I recently finished some work where I rewrote an applet. The applet used to require only Java 1.1; however, because I used Swing instead of the AWT, Java 2 is required to run now. It will run under 1.4.2, but I am afraid that some customers might need to upgrade their Java installation. I found ...
Hi all,I wrote a program which uses the javamail with mail.jar and activation.jar .I have no trouble with my computer, but other computers do not open the jar file with the "Could not find the main class.Program will exit" error message. So that, i wanted to include javamail's jar files in the my ...
98 byte By
hsy541a at 2007-11-27 11:29:18
<p>How to package other jar files into one jar? How can i get the class in the inner jar file?</p>
Hi am currently programming a game similar to point and click adventures like monkey island, just one thing is really starting to bother me at the moment, just when i am programming and i import some files more jar files get added too the library drop down menu of my project.I was just wondering on ...
Hello there..i am in msn communities where you can have someone look over your hijack..this and that..anyways..i had Judy hijack for me..and she said to uninstall Java..well when i went to add and remove programs..there is no remove button..She thought i should ask you experts over here what to ...
606 byte By
cup_joea at 2007-11-27 11:18:27
Hi there,I have 2 or more main classes in a java project. How do I create more than one application entry point in my MANIFEST.INF? I create my jar file from my java project using Eclipse, and it asked me to "Select the class of the application entry point". I was only able to select one main ...
Update was pushed to me and while installing I received this error. Here it is in its entiretyError 1101.Error reading from file: http://javadl-esd.sun.com/update/1.6.0/sp-1.6.0_02/sp1033.MST. I don't see any posts with this exact error and when I performed a search I got 0 hits. Please help me to ...
756 byte By
NM-156a at 2007-11-27 11:13:51
Hi. I am trying to download tomcat WSDP to test some web services. It seems that the only option available is to use the Sun download manager. The download manager runs and says "Checking for updates", but after a long time a window comes back with this exception:An error occurred while ...
Hi Everyone, I am using JNLP to start a swing application. My application has some supporting resource files [mdb (MS Access Database), few XMLs and properties]. While launching, the shortcut and these supporting files falls in my desktop. I want these supporting files to be downloaded in some ...
402 byte By
jmw2a at 2007-11-27 11:08:41
Hello,I have a small app contained within a JAR which runs when invoked. However some features of the program require communication with a JVMTI agent. The agent library information must be passed to the VM on startup in the form:-agentlib:AGENT_LIBRARY_NAMEI know very little about JAR files and ...
320 byte By
iajdmba at 2007-11-27 11:07:00
I just downloaded and installed the jdk1.5.0_12 update and the jre1.5.0_12 64bit on my linux(FC6 x86_64) machine and there is no plugin directory under jdk1.5.0_12/jre or under jre1.5.0_12/. What gives ? I want to install the java plugin on my firefox browser and it's not included in the download ...
1008 byte By
sts_5085a at 2007-11-27 11:06:16
I'm having a problem with Java Web Start 1.6 with the desktop shortcuts. In WS 1.5 when the user launches a jnlp file from a web site, the href link of that jnlp file is read and the information returned from this link is used when creating the desktop shortcut. This is also true for WS 1.6. As ...
Hi all,no matter the client locale you always get the US runtime version when autodownloading from Sun.This is true when I set <jre version/> to 1.3.1* or specifically to 1.3.1_18.I want to avoid writing my own servlet and providing the installer files myself.What can I do?Thanks in advance and ...
1015 byte By
Stusya at 2007-11-27 11:04:02
First post ever using java and its probable really simple. I've basically been chucked in at the deep end of a java app. I've had to reverse engineer it and I'm at the following stage:-I'm rebuilding the project to create my jar file and I'd like to 1)get a list of all the files of the project ...
Hi ,am trying to use JWS for a simple java application. this is the cod efor my javacodes.jnlp file <?xml version="1.0" encoding="utf-8"?><jnlp spec="1.0+" codebase="javacodes/" href="Javacodes.jnlp"><information><title>Mon Application par JNLP</title><vendor>Auguste ...
<p>Hello</p><p>Is there syntax in jnlp to parameterize the main method? I just want to feed main some parameters and I cant figure out how to do it. Any help appreciated</p>
Hi,libA.so depends on libB.so.The System.loadLibrary("A") call fails with the following error: java.lang.UnsatisfiedLinkError: /home/apptest/.java/deployment/cache/6.0/8/543d1248-5a10af09-n/libA.so: libB.so: cannot open shared object file: No such file or directoryIf the application is started from ...
Hi,I'm trying to deploy a fairly complex code base in a reliable manner onto a system using Ant which allows Rollback functionality in the event of a failure.I have a pair of directories;/var/distributions//var/www/lib/java/using symlinks to do the following:/var/www/lib/java/CORE.jar -> ...
What is the best way to have a install of the jre & jnlp for the first time.?My user base may be young adults and parents installing the jre at home and not developers.Think of it as installing a game over the internet with jnlp or Web Start involved but not there initially.I do not want them ...
292 byte By
kumahaa at 2007-11-27 10:51:33
<p>During usage of JWS for downloading/launching Client application, default JWS dialog pops up in starting. It says "Java Starting..."</p><p>Is It possible to change that dialog ? For Example i want to change wording from "Java Starting.." on that dialog to My Application specific name.</p>
I'm using JDeveloper to build a desktop app, as a jar file. I want to make 2 deployment profiles, one for Development and one for Production. In C++ I would do this by setting a prefix file in the IDE to include different .h header files that would define anything I wanted, like for the platform, ...
1822 byte By
javalessa at 2007-11-27 10:44:37
Chaps,I am trying very badly to create a jnlp file for websphinx.jar which is a free web bot.The error i am getting is :-MissingFieldException[ The following required field is missing from the launch file: <jnlp>(<application-desc>|<applet-desc>|<installer-desc>|<component-desc>)]at ...
I want to be able to load files from an executable JAR file, the best method I have is below. But it requires knowing a class in the JAR which is not a problem. I just want to know if it can be done without knowing a class file in the JAR so I can get rid of the anyfileinjar parameter below.Thanks ...
I'm not sure if this is the right forum for this but i have some questions about wars. Is it possible for me to put a war in my project and then link to pages in that war's webapp relatively as if the pages were part of my project? If so how would the page be affected by the web.xml file, would ...
<p>Hi,</p><p> I would like to have few Table Header columns as Button and Other Table Header Columns as String. And each Button should have separate action. Please let me know, how can i implement this one.</p><p>Thanks</p><p>Mohan</p>
hello,i'm forced to develop in jdk 1.5 and need to use package javax.xml.stream (StAX), which is not included in jaxp1.3 (in jdk 5), so there is a need to somehow integrate jaxp 1.4 to jdk5.first thing i've tried was getting jaxp 1.4 src and include a buildpath to my project to it. problem is, ...
Hi there, I have a strange problem. At work, I have 2 computers. Both are up to date with all security updates and IE updates as well as previous java versions. Directx and firefox/IE versions are up to date also. Anyways, on one computer, the newest java version works fine but on the other ...
430 byte By
sjbothaa at 2007-11-27 10:34:14
Getting this error when it tries to install:Unable to download http://java.sun.com/update/1.6.0/1.6.0_02-b05.xmlIt's trying to download beta 5?I downloaded the CAB file referenced in object codebase:https://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cabThe inf file in the CAB file ...
<p>Cannot install 6 update 2 (6u2) from java.sun.com on Windows. Does any of you have similar experience?</p>
5160 byte By
mtb70mpha at 2007-11-27 10:25:54
I am writing an applet that reads text files from a folder in a jar file in order to get the information it needs. My current code for getting the contents of the jar file is:public void getStuff(String folder){for(int i=0; i<stuff.length; i++){ArrayList><ArrayList> holder=new ...
We moved up to 1.6.0_02 for an intranet app yesterday. We use the <OBJECT> tag within the html page to reference the install media which is on our AppServer.For about 50% of the users who installed 1.6.0_02 using the applet, once they've installed it IE 6 will fail to start up after installing ...
668 byte By
Fergala at 2007-11-27 10:18:44
HelloI want to easily upload files to my web server, without the use of annoying web forms. So far, I have created a drag and drop application that I can drag files onto, and information of the corresponding file is displayed. I want to develop this further so that whatever file I drag onto the ...
<p>i am trying to get the location of the webstart cache directory. i see some posts from 2003 and 2004 that say to use getResource() to figure it out. but that way doesnt seem to work anymore. is there any way that works on 1.5 and 1.6 today?</p>
1350 byte By
mtb70mpha at 2007-11-27 10:16:56
I've been stuck trying to get my applet to work online. The applet and its inner classes, as well as a folder with a bunch of text files it needs to run, are all in a jar file (on a geocities website =/ just trying to get it working). My html code for the applet looks like this:<applet ...
2755 byte By
jcullia at 2007-11-27 10:15:53
Can anyone else confirm/duplicate this?When a JApplet starts it correctly shows the color specified by the boxbgcolor parameter for a moment, then when it starts to download jars it goes white until the jars are finished. Finally it paints the color specified in start(). I don't know if this ...
1168 byte By
argh313ba at 2007-11-27 10:14:10
Hello everyone,I have a working jar file built by an ant script and it's working correctly. I am trying to rework the script so that the jar would be executable. I put the manifest attribute Main-Class and pointed it at the correct location of the class whose main() method should be run, but when ...
Hi,I am having a problem in running a cerated jar file. These are the contents of the jar file:bhargava@pinakini:~/workspace/AntSampleProject/build/jar$ jar tf HelloWorld.jarMETA-INF/MANIFEST.MF./ ./oata/ ./oata/HelloWorld.classIt is not running even if I use jar file in the classpath, but ...
Hello, I have the following class:import org.apache.log4j.Logger;import org.apache.log4j.PropertyConfigurator; public class Ejemplo3 {static Logger logger = Logger.getLogger(Ejemplo3.class.getName());public static void main(String[] args) ...
378 byte By
sleggea at 2007-11-27 10:09:55
Hi,I found on a Sun page that you can determine in a JSP if Java Web Start is present on the client machine.I have an Applet that requires Java 1.5 or higher and I'm trying to determine if Java is present in the browser (if not, I'll redirect to a "download now" page). If Java Web Start is ...
I'm trying to get the JRE to install on my new Vista machine. It keeps giving me an error like "Failure Time/Date stamp" towards the end of it's install process. I've tried changing my timezone (I'm in mountain), uninstalling and reinstalling via online and offline modes. No matter what I ...
388 byte By
SFLa at 2007-11-27 10:02:40
I am running Eclipse 3.2 and NetBeans 5.5.1 and tried to create a JAR file of my project. This works fine in Eclipse - but not in Netbeans; when creating a JAR file in Netbeans I can start my application but the whole GUI isn't being displayed. I don't get an error message or another ...