Thread: HOW to fix Compiler so i can edit my server?

Results 1 to 4 of 4
  1. #1 HOW to fix Compiler so i can edit my server? 
    Travo168
    Guest
    ok when ever i try to use my compiler i get a error saying this Cannont find speified path or sumthing like that im using vista
    Reply With Quote  
     

  2. #2  
    Bestrew
    Guest
    Code:
    @echo off
    if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
    :compile
    for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe")
    if defined p (%p% -cp . *.java)
    if defined p (goto end)
    :error
    echo You do not have Java installed. Please download it at the site that is about to load.
    "%programfiles%\Internet Explorer\iexplore.exe" http://java.sun.com/javase/downloads/index.jsp
    :end
    echo Finished!
    pause
    exit
    put that in your compiler and it should work.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Nya's Avatar
    Join Date
    Jul 2009
    Posts
    2,609
    Thanks given
    11
    Thanks received
    258
    Rep Power
    1398
    lol'
    Reply With Quote  
     

  4. #4  
    Travo168
    Guest
    Quote Originally Posted by Bestrew View Post
    Code:
    @echo off
    if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
    :compile
    for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe")
    if defined p (%p% -cp . *.java)
    if defined p (goto end)
    :error
    echo You do not have Java installed. Please download it at the site that is about to load.
    "%programfiles%\Internet Explorer\iexplore.exe" http://java.sun.com/javase/downloads/index.jsp
    :end
    echo Finished!
    pause
    exit
    put that in your compiler and it should work.
    when i put that in it just took me to dl jdk which i already have
    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

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