Member Avatar

Is it possible to write to an existing text file in a jar. I managed to read from it with getResource() but I am stuck trying to write to it, it gives me a file not found exception. Thanks

Member Avatar
0
5
Member Avatar

I have problem with creating jar file want to create jar file with mysql connector i include the mysql connector in manifest file but still it five me error like: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at serverGUI.checkDB(serverGUI.java:194) at serverGUI.run(serverGUI.java:115) at java.lang.Thread.run(Thread.java:595) pls tel me how to include mysql jar into jar file

Member Avatar
0
4
Member Avatar

My friend and I are in a computer science class, and we were wondering how to edit the contents of a jar file? What software would we use, lines of code we might need, or any other input would be greatly appreciated. -From our computer to yours'- zach&kody

Member Avatar
0
8
Member Avatar

I am working on a java applet that sends information from the applet to a gmail using JavaMail. I downloaded the JavaMail package and using the mail.jar file it [B]does[/B] send to the email from my Eclipse workspace. However, when I ftp the files (ContactForm.java, ContactForm.class, mail.jar, and test.html) to the server. I get a[I] "applet notloaded"[/I] error. NOTE: All the files are in the same directory. Here is the code: Applet: (ContactForm.java) [CODE] package rha; /* * Purpose: Residence Hall Association online "comment card" * Gets information from the user (email, query, message) * and SMTPs the information to …

Member Avatar
0
30
Member Avatar

I have to read the co-ordinates of a 3D object from the txt file and store it in an array. But I need to store it in a JAR file so that I can view the final product in my visualizer (Jmol). How do I get about in doing that?

Member Avatar
0
3
Member Avatar

Hi friends, I am facing a problem with Signed jar file. I have two jar files.One contains applet class and other jar file contains supportive classes used by that applet.I was able to self sign the applet jar file let name it as "ScreenApplet.jar" using jarsigner tool. The supportive jar file lets name it as "Supportive.jar". When i run the ScreenApplet through web browser, i was getting an exception "Cannot create the DataSink: java.lang.RuntimeException: No permission to write files from applets." Can anyone help me on this ??? Thanks in advance

0
1

The End.