Forum: PS2 Homebrew/Dev & Emu Scene - Topics relating to homebrew PS2 development and emulation. Stay current and up to date on the latest homebrew releases from the best devs on the scene.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: How do you compile/use ps2vfs?
  

Results 1 to 6 of 6
  1. #1 How do you compile/use ps2vfs? 
    dick_onion53's Avatar
    dick_onion53 is offline everything in moderation
    Join Date
    Mar 2005
    Posts
    734
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    I downloaded the latest (i assume) version of ps2vfs but all the .rar file contains is a whole bunch of .jar files. I assume I have to compile this - but how?
    My system:
    v7 NTSC PS2 Duo2 SE
    Reply With Quote  

  2. #2  
    brainless is offline Registered User
    Join Date
    Nov 2004
    Posts
    14
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    A *.jar file is just a Java Archive. To run it use:
    Code:
    java -jar filename.jar
    I personaly haven't tried it, but this is the excpected output from the readme file:
    Code:
    #  _____     ___ ____
    #   ____|   |    ____|      PSX2 OpenSource Project
    #  |     ___|   |____       (C)2003,Bigboss, Mavy & Hermes
    #             (bigboss@ps2reality.net,mavy@ps2reality.net,hermes@ps2reality.net)
    #  -----------------------------------------------------------------------------
    Server listening in port 6969
    I guess once you get that you can start transmitting files with ps2ip, ps2eth and ps2ips.
    open source
    Reply With Quote  

  3. #3  
    dick_onion53's Avatar
    dick_onion53 is offline everything in moderation
    Join Date
    Mar 2005
    Posts
    734
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    I did as you said and I got this error:

    C:\Documents and Settings\<MY NAME>java -jar ps2vfs.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: java/util/logging/Handler

    Is there something I'm missing or doing wrong?
    My system:
    v7 NTSC PS2 Duo2 SE
    Reply With Quote  

  4. #4  
    NiteBreed13 is offline Registered User
    Join Date
    Feb 2005
    Posts
    3
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Hi there,

    I think your problem lies in the integration of the Java Runtime Environment with Windows. Allow me to elaborate:

    If I follow your predicament correctly, this should solve your problem:

    1) Make sure you have the most up-to-date Java runtime environment installed (Not that it makes that much difference if it's not the latest version, but just to be on the safe side)

    2) I don't know which version of Windows you are running, - I'm running Win2K, but you should be able to find the right place to go if you're on XP - right click on My Computer, and go to System Properties. Then go to the Advanced tab and click on Environment Variables. - then look at the System Variables section at the bottom of the dialogue. Find the "CLASSPATH" line, select it and click on edit, - You then need to add a line that points to the binary directory of the java install directory, - usually something like "C:\Program Files\Java\j2kre1.4.2_06\bin" - it doesn't matter where you installed java to originally, just make sure you type in the path for your particular case. - What is important is to add the "\bin" otherwise this won't work.

    3) Click OK for all dialogue boxes and reboot.

    4) When you're back in Windows, retry what you typed previously to run ps2vfs and it should run fine.

    -What all this does is to point Windows to the Java directory which holds all of the relevant Java commands that you may use. This way whenever Windows boots, you run a command prompt and type "java" for example, Windows will know that you typed a command related to Java and not just a random word, as you have effectively "pre-loaded" the Java libraries and commands. - If you don't add your java binary directory to the "CLASSPATH" line, you will have to go to the bin directory within the java install directory every time you want to run a Java command, which is a real pain.

    Sorry if all that is a bit long winded and "waffly" but I'm not aware of what you know and what you don't, so I played it safe. - On the upside, you only have to do this once and never again until you reformat so it's not that bad.

    (If you already know all this then ignore my post but from your original post, this is what I think is causing your problem).

    Regards

    ~N.B.~
    Reply With Quote  

  5. #5  
    dick_onion53's Avatar
    dick_onion53 is offline everything in moderation
    Join Date
    Mar 2005
    Posts
    734
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Thanks! It works now, thanks a million for your help.
    My system:
    v7 NTSC PS2 Duo2 SE
    Reply With Quote  

  6. #6  
    NiteBreed13 is offline Registered User
    Join Date
    Feb 2005
    Posts
    3
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    You're welcome. Glad you're up and running now.


    ~N.B.~
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •