Thread: Cannot find the specified path

Results 1 to 9 of 9
  1. #1 Cannot find the specified path 
    Registered Member
    Join Date
    Jun 2010
    Posts
    17
    Thanks given
    1
    Thanks received
    0
    Rep Power
    1
    (Yes yes I know, you're all saying I'm a noob, to use search, I shouldn't go on if I can't figure this out, please, lets just continue on.)

    Well, I got out of RSPS's (I never really got too far into them though) about 12-18 months ago, and now I'm back. I wanted to start developing my own server. The difference is I recently built a computer and so of course, I have a new hard drive. Obviously I have JDK and JRE (currently 6u25) installed and even though I have followed guides on many forums, google, and youtube, I still can't get it to work. Yes, I have changed the last numbers in the files to match my version number in my files and in my classpath and path. Can anyone please help me, this is ridiculously sad and I would really appreciate anyone trying to point me in the right direction. Thank you!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Melvin's Avatar
    Join Date
    Aug 2011
    Posts
    1,150
    Thanks given
    546
    Thanks received
    418
    Rep Power
    1561
    Its like
    Code:
    "C:/Program Files/Java/jdk1.6.0_21/bin/javac"
    If it has something else leading to javac.exe file it will say that error I guess . I just know my knowledge of this


    A creative man is motivated by the desire to achieve, not by the desire to beat others.”


    ― Ayn Rand
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2010
    Posts
    17
    Thanks given
    1
    Thanks received
    0
    Rep Power
    1
    Yeah, it was at java.exe, so I replaced it with what you had (but swapped your "/" with "\") and it gave me a new error.

    Code:
     javac: invalid flag: -Xmx10000m
    usage: javac<options><source files>
    use -help for a list of possible options
    Press any key to continue...
    By the way, here is what my run.bat file looks like.

    Code:
    @echo off
    title InsidiaX
    "C:\Program Files\Java\jdk1.6.0_25\bin\javac" -Xmx1000m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
    pause
    Reply With Quote  
     

  4. #4  
    Registered Member
    Melvin's Avatar
    Join Date
    Aug 2011
    Posts
    1,150
    Thanks given
    546
    Thanks received
    418
    Rep Power
    1561
    Too much ram, your computer probably cant hold it at 1000xmx try 512xmx


    A creative man is motivated by the desire to achieve, not by the desire to beat others.”


    ― Ayn Rand
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2010
    Posts
    17
    Thanks given
    1
    Thanks received
    0
    Rep Power
    1
    My computer is custom built high end computer, 8 GB of RAM. Anyways, I changed it and it's still giving me the same error.


    EDIT: After changing it to what someone posted in another thread I got the following error.

    Code:
    @echo off
    title Project Insanity
    "C:\Program Files\Java\jre6\bin\java.exe" -Xmx1500m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
    pause
    Code:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: server/Server
     : Unsupported major.minor version 51.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: server.Server.  Program will exit.
    Press any key to continue . . .
    Reply With Quote  
     

  6. #6  
    Registered Member
    Melvin's Avatar
    Join Date
    Aug 2011
    Posts
    1,150
    Thanks given
    546
    Thanks received
    418
    Rep Power
    1561
    Try
    Code:
    @echo off
    title RunServer
    "C:\Program Files\Java\jdk1.6.0_25\bin\java.exe" -Xmx1000m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
    pause


    A creative man is motivated by the desire to achieve, not by the desire to beat others.”


    ― Ayn Rand
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jun 2010
    Posts
    17
    Thanks given
    1
    Thanks received
    0
    Rep Power
    1
    Same error again. :/
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Sep 2011
    Posts
    5,121
    Thanks given
    1,333
    Thanks received
    1,795
    Rep Power
    1731
    Hi, sig what computer do you have? Is it running on 32bit or 64 bit? What type of Java version are you using? I'm sure I can sort this out.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Jun 2010
    Posts
    17
    Thanks given
    1
    Thanks received
    0
    Rep Power
    1
    Thanks eliminate. Its a 64 bit computer and I'M using JDK update 29.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Rename.bat cannot find path specified
    By Chris SS in forum Help
    Replies: 5
    Last Post: 10-01-2011, 06:29 AM
  2. Error: Could not find path specified
    By xx fox xx in forum Help
    Replies: 9
    Last Post: 06-19-2010, 08:37 AM
  3. system cannot find specified path, will rep!
    By Duces Mane in forum Help
    Replies: 4
    Last Post: 05-31-2010, 07:51 PM
  4. can not find path specified
    By gartg in forum Help
    Replies: 4
    Last Post: 07-18-2009, 04:14 AM
  5. cant find specified path
    By cycl0n3pk3r in forum Help
    Replies: 14
    Last Post: 03-03-2009, 07:20 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •