Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: access the encrypted folder from java codeing

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default access the encrypted folder from java codeing

    Hi,

    I am new to java. I cant able to access the encrypted folder from java codeing.

    Kindly look out the following code and correct my problem.

    Code : Desktop.getDesktop().open(new File("src\\feb_24_testing_1\\swf.{21EC2020-3AEA-1069-A2DD-08002B30309D}\\Main.exe"));

    The folder name swf is encrypted but not able to access from java coding, kinldy help me.

    Thanks.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: access the encrypted folder from java codeing

    What error message do you get? Copy and paste it here.

  3. #3
    Junior Member
    Join Date
    Mar 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: access the encrypted folder from java codeing

    Hi,
    Kindly check below error message or check the screen shot for the code in the attachment.

    FYI : I am encrypt the folder using ms dos command.code1.JPG

    FileNotFoundException: Failed to open file:/D:/netbeans_testing/projects/feb_24_testing_1/src/feb_24_testing_1/swf.%7B21EC2020-3AEA-1069-A2DD-08002B30309D%7D/Main.exe. Error message: The system cannot find the path specified.

    Kindly help me.

  4. #4
    Junior Member
    Join Date
    Mar 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: access the encrypted folder from java codeing

    Hi,
    Kindly check below error message or check the screen shot for the code in the attachment.

    FYI : I am encrypt the folder using ms dos command.code1.JPG

    FileNotFoundException: Failed to open file:/D:/netbeans_testing/projects/feb_24_testing_1/src/feb_24_testing_1/swf.%7B21EC2020-3AEA-1069-A2DD-08002B30309D%7D/Main.exe. Error message: The system cannot find the path specified.

    Kindly help me.

  5. #5
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: access the encrypted folder from java codeing

    The system cannot find the path specified.
    The message says what the problem is.
    I don't know what to suggest other than the obvious things you do to try to have a program find a file.
    Check spelling and location.

Similar Threads

  1. Need help on access encrypted folder
    By bala03ram in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 9th, 2012, 05:39 AM
  2. Java Web Start app exiting with access denie (java.lang.RuntimePermission
    By sonaljain in forum What's Wrong With My Code?
    Replies: 2
    Last Post: June 13th, 2011, 08:43 PM
  3. Access to a shared folder over LAN
    By Lienaj in forum Java Networking
    Replies: 4
    Last Post: July 29th, 2010, 12:16 PM
  4. implementing interface from encrypted jar
    By mark111 in forum Java Theory & Questions
    Replies: 2
    Last Post: February 25th, 2010, 02:38 PM
  5. Default Access (package access) confusion
    By gauravrajbehl in forum Java Theory & Questions
    Replies: 1
    Last Post: November 18th, 2009, 04:11 AM