Thread: Making ur compiler Work with all jdk

Results 1 to 4 of 4
  1. #1 Making ur compiler Work with all jdk 
    Registered Member Tx-Sec's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    520
    Thanks given
    34
    Thanks received
    15
    Rep Power
    68
    Just add this to ur compiler

    Code:
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    ::							::
    ::	This Compiler is under no licenses and may	::
    ::	be distributed freely.				::
    ::							::
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    @echo off
    title compiler
    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
    Rep plz =)
    Last edited by Tx-Sec; 03-09-2008 at 06:42 AM. Reason: i search how add it good
     

  2. #2  
    Registered Member
    Nathan R's Avatar
    Join Date
    Jul 2007
    Age
    31
    Posts
    771
    Thanks given
    0
    Thanks received
    18
    Rep Power
    85
    it didnt work...
     

  3. #3  
    Registered Member Tx-Sec's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    520
    Thanks given
    34
    Thanks received
    15
    Rep Power
    68
    why it didint work tell me ur error anything i think i can solve
     

  4. #4  
    Optimist

    Vice's Avatar
    Join Date
    Nov 2007
    Age
    28
    Posts
    3,263
    Thanks given
    3
    Thanks received
    59
    Rep Power
    2536
    meh... its just another compiler?? or is there something special to this one? share please, plus not really a tutorial its a code really...

    Btw Add it or replace it, some people might ending up adding below there normal compiler lawl they will all complain of errors hehehe
    Jack
    Scotland
    Undergraduate - BSc Computing Science
     


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
  •