error 2 « error « Java I/O Q&A





1. Error when uncompressing file in unix    forums.oracle.com

Hi , Thanks a lot for ur immediate response. I can able to gunzip that file. Because ZIPOutputStream will create a gz file. But i want to create a file with the extension .Z that means with the Unix compress format. I want to use "uncompress" command only in unix. Do you have any idea like how to create a UNIX ...

2. IO error..Newbie    forums.oracle.com

3. IO error    forums.oracle.com

java.io.NotSerializableException: MancalaBoard at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at MancalaApplication$IOUtilities.saveGame(MancalaApplication.java:124) at MancalaApplication$MainListener.actionPerformed(MancalaApplication.java:52) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211) at java.awt.Component.processMouseEvent(Component.java:6038) at javax.swing.JComponent.processMouseEvent(JComponent.java:3260) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at ...

4. determine file type error    forums.oracle.com

Hello to everyone. I am developing my year 3 project and i have run into some trouble. I am trying to determine whether a file is or is not a directory. Using the file.isDirectory works flawlessly, locally on my computer. I am trying to do this remotely using sockets as well. I send a File[] with all the directory contents of ...

5. java io exception error    forums.oracle.com

yes i have copied two png images in the root of c: so that its much easier to access but it seems to be very difficult. yes its in Windows and i tried c: logo.png and i still get the same error. i've also tried "logo.png" and inserted the actual png image in the build folder (im using netbeans) of the ...

6. Error in running file    forums.oracle.com

I write a program to convert a plain message into a scrambled message. During the compliation, nothing happened. When I run the program, it says ArrayIndexOutOfBondsException: 26. I have no idea how to solve the problem. I have highlighted the line which caused the error. Pls guide. import java.io.*; import javax.swing.*; public class Q2 { public static void main (String[] args) ...

7. Stranger error:Old file not found.However,a file of the same name was found    forums.oracle.com

Hi All, I appologise if its not the right forum... I am a bit baffeled here by the following error when I am trying to install Java SDK or just JRE. I upgraded my windows 2000 box to win XP home edition, installed the latest updates etc and then tried to install java.... and got the following error bin\appletviewer.exe: Old file ...

8. Display Error into file    forums.oracle.com

public static void main(String[] args) throws Exception { if(args.length != 6) { System.out.println("Sao esperados 6 parametros!"); return; } String pNfeCabec = args[0]; String pNfeDados = args[1]; String pRespostaXML = args[2]; String pCaminhoCertificadoPfx = args[3]; String pSenha = args[4]; String pCaminhoCertificadoKey = args[5]; String pError = args[2] + ".err"; FileWriter outputError = new FileWriter(pError); PrintWriter outputEStream = new PrintWriter(outputError); try{ Status s ...

9. Error creating file    forums.oracle.com

Hi, I'll try to explain clearly what I want. I want to copy my app to a directory: X:\myApp\ I want to create a directory inside the app root called "backup" to store db dumps. When I run the app I choose "Backup option": - if directory does not exists, its created. - Once I create the directory I want to ...