Thread: Lost Legacy Run Issue

Results 1 to 6 of 6
  1. #1 Lost Legacy Run Issue 
    Registered Member
    Join Date
    Dec 2013
    Posts
    84
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Hello,
    I need help fixing my cmd start. This is my run.

    Code:
    @echo off
    title Project Insanity
    java -Xmx556m -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
    and this is my error

    Code:
    'java' is not recognized as an internal or external command,
    operable program or batch file.
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Registered Member
    sadgrills's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    1,419
    Thanks given
    120
    Thanks received
    194
    Rep Power
    863
    Your PATH isn't set correctly.
    How do I set or change the PATH system variable?


    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2013
    Posts
    84
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Valefor View Post
    I think iv broke it. If you could maby message me private and help with this thanks
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Oct 2011
    Age
    28
    Posts
    1,880
    Thanks given
    311
    Thanks received
    557
    Rep Power
    703
    Replace the "java" keyword in the batch file with:


    Code:
    "C:\Program Files\Java\jdk1.7.0_25\bin\java.exe"
    Change the path accordingly.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2013
    Posts
    84
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Thanks!
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Mar 2014
    Posts
    62
    Thanks given
    2
    Thanks received
    7
    Rep Power
    11
    You need quotations around your path.. change it to this :

    @echo off
    title Project Insanity
    "C:\Program Files\Java\jdk1.7.0_51\bin\java.exe" -Xmx556m -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  
     


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. Running issue.
    By Demetri in forum Help
    Replies: 2
    Last Post: 03-11-2009, 09:30 AM
  2. Running Issue
    By Inspired Dreams in forum Help
    Replies: 4
    Last Post: 03-09-2009, 08:08 PM
  3. Lost Legacy
    By I'm me bitch in forum Advertise
    Replies: 3
    Last Post: 01-17-2009, 11:31 PM
  4. Lost Legacy 24/7
    By I'm me bitch in forum Advertise
    Replies: 2
    Last Post: 01-01-2009, 06:21 PM
  5. more lost legacy pics
    By i r ownage in forum Downloads
    Replies: 1
    Last Post: 10-22-2008, 11:18 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •