User Profile

Collapse

Profile Sidebar

Collapse
minifish
minifish
Last Activity: Nov 11 '08, 02:22 PM
Joined: Oct 29 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • minifish
    replied to handle FileNotFoundException
    in Java
    I get
    Unreachable catch block for FileNotFoundExc eption. This exception is never thrown from the try statement body

    when I do

    try {
    _help= new HelpMethod();
    }catch(FileNotF oundException e){

    }

    It's try to create a log when I'm making HelpMethod
    Any suggestion will be great,

    Thank you
    See more | Go to post

    Leave a comment:


  • minifish
    started a topic handle FileNotFoundException
    in Java

    handle FileNotFoundException

    I'm calling a method that need to open up the af.sh file.
    Because the file does not exist, I get error:

    java.io.FileNot FoundException: \file\af.sh (The system cannot find the path specified)

    I can't change this method but I want to run all other parts of the method.
    Is there anything I can do to catch this exception while continue running the method?
    See more | Go to post

  • minifish
    replied to Failed to retrieve RMIServer stub
    in Java
    yes and I'm try to connect to it

    Failed to retrieve RMIServer stub: javax.naming.Co mmunicationExce ption [Root exception is java.rmi.Connec tIOException: error during JRMP connection establishment; nested exception is:
    java.net.Socket TimeoutExceptio n: Read timed out]...
    See more | Go to post

    Leave a comment:


  • minifish
    replied to Failed to retrieve RMIServer stub
    in Java
    Failed to retrieve RMIServer stub: javax.naming.Co mmunicationExce ption [Root exception is java.rmi.Connec tIOException: error during JRMP connection establishment; nested exception is:
    java.net.Socket TimeoutExceptio n: Read timed out]...
    See more | Go to post

    Leave a comment:


  • minifish
    started a topic Failed to retrieve RMIServer stub
    in Java

    Failed to retrieve RMIServer stub

    Failed to retrieve RMIServer stub: javax.naming.Co mmunicationExce ption

    Any idea what this error means and how to fix it?
    See more | Go to post

  • minifish
    started a topic Does anyone know what these error means?
    in Java

    Does anyone know what these error means?

    Hello,
    I'm running my rmi client and got the following errors.

    java.io.FileNot FoundException: \logs\new.log (The system cannot find the path specified)
    at java.io.FileOut putStream.openA ppend(Native Method)
    at java.io.FileOut putStream.<init >(Unknown Source)
    at java.io.FileOut putStream.<init >(Unknown Source)



    and

    Caused by: java.security.A ccessControlExc eption:...
    See more | Go to post

  • I'm not sure where I messed up. but after I restart and reset all my environment variables I got the CLASSPATH method to work.
    Thank you very much
    See more | Go to post

    Leave a comment:


  • I didn't get any error for extracting jar file.
    See more | Go to post

    Leave a comment:


  • Java - Importing from a Jar file hav touble with set CLASSPATH

    Hello experts,

    I'm try to import java file in unix.
    Under bash, I tried
    export CLASSPATH=/blah/blah/some.jar:/blah/some2.jar
    The CLASSPATH variable was initially undefined.

    and when I try to compile my java program, I get error message

    error: error reading /blah/blah/some.jar; error in opening zip file

    Any suggestions? or what I mit be doing wrong?

    Thank...
    See more | Go to post
No activity results to display
Show More
Working...