Freeroam
Hello! Welcome to Freeroam Forums. If this is your first time then Enjoy!
Freeroam
Hello! Welcome to Freeroam Forums. If this is your first time then Enjoy!
Freeroam
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Freeroam

Freeroam Forums
 
HomePortalGalleryLatest imagesSearchRegisterLog in
Latest topics
» What forums to use
Rhin0's Compiler I_icon_minitimeWed Feb 29, 2012 12:20 pm by stopperbud

» mac version?
Rhin0's Compiler I_icon_minitimeMon Apr 26, 2010 4:17 pm by samdadog

» Future of Freeroam
Rhin0's Compiler I_icon_minitimeSun Nov 29, 2009 12:20 pm by poison

» Clien Download
Rhin0's Compiler I_icon_minitimeSun Nov 29, 2009 12:07 pm by poison

» The last surviors
Rhin0's Compiler I_icon_minitimeSat Nov 28, 2009 9:37 pm by poison

» I HATE WoW
Rhin0's Compiler I_icon_minitimeFri Nov 27, 2009 11:09 am by mageofmagers

» Would you rather?
Rhin0's Compiler I_icon_minitimeFri Nov 27, 2009 12:53 am by megamurder8

» VOTE! VOTE!
Rhin0's Compiler I_icon_minitimeFri Nov 27, 2009 12:50 am by megamurder8

» Membership and donator point imfo!
Rhin0's Compiler I_icon_minitimeThu Nov 26, 2009 9:54 pm by megamurder8

Vote
Vote for your favorite Drawing NOW!

Freeroam.forumotion.net - By Playing the server, you agree to the rules in the link below

Top posters
mageofmagers (367)
Rhin0's Compiler I_vote_lcapRhin0's Compiler I_voting_barRhin0's Compiler I_vote_rcap 
megamurder8 (235)
Rhin0's Compiler I_vote_lcapRhin0's Compiler I_voting_barRhin0's Compiler I_vote_rcap 
sunny (212)
Rhin0's Compiler I_vote_lcapRhin0's Compiler I_voting_barRhin0's Compiler I_vote_rcap 
Admin (168)
Rhin0's Compiler I_vote_lcapRhin0's Compiler I_voting_barRhin0's Compiler I_vote_rcap 
gurkan (138)
Rhin0's Compiler I_vote_lcapRhin0's Compiler I_voting_barRhin0's Compiler I_vote_rcap 
Aidss (118)
Rhin0's Compiler I_vote_lcapRhin0's Compiler I_voting_barRhin0's Compiler I_vote_rcap 
Butt muncher (107)
Rhin0's Compiler I_vote_lcapRhin0's Compiler I_voting_barRhin0's Compiler I_vote_rcap 
Louis (85)
Rhin0's Compiler I_vote_lcapRhin0's Compiler I_voting_barRhin0's Compiler I_vote_rcap 
Aznforlife (76)
Rhin0's Compiler I_vote_lcapRhin0's Compiler I_voting_barRhin0's Compiler I_vote_rcap 
zach821822 (67)
Rhin0's Compiler I_vote_lcapRhin0's Compiler I_voting_barRhin0's Compiler I_vote_rcap 
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 Rhin0's Compiler

Go down 
+3
gurkan
mageofmagers
Rhin0
7 posters
Go to page : 1, 2  Next
AuthorMessage
Rhin0
3D Designer
3D Designer



Posts : 63
Rep. : 3
Join date : 2009-07-11
Age : 31
Location : Sweden

Rhin0's Compiler Empty
PostSubject: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeWed Jul 29, 2009 6:40 am

I made a Compiler that can find JDK 10-14 Cool
if you got some problem with this, plz tell me xD

Code:
:main
@echo off
cls
Title Rhin0's Compiler
color 71
set cc=%programfiles%\Java\jdk1.6.0_14\bin\javac.exe
:: Its my Default, maybe yours.
if not exist="%cc%" goto fail
goto rdy
:fail
cls
if exist="%programfiles%\Java\jdk1.6.0_10\bin\javac.exe" goto 10
if exist="%programfiles%\Java\jdk1.6.0_11\bin\javac.exe" goto 1
if exist="%programfiles%\Java\jdk1.6.0_12\bin\javac.exe" goto 2
if exist="%programfiles%\Java\jdk1.6.0_13\bin\javac.exe" goto 3
goto fail!


:10
set cc=%programfiles%\Java\jdk1.6.0_10\bin\javac.exe
goto rdy
:1
set cc=%programfiles%\Java\jdk1.6.0_11\bin\javac.exe
goto rdy
:2
set cc=%programfiles%\Java\jdk1.6.0_12\bin\javac.exe
goto rdy
:3
set cc=%programfiles%\Java\jdk1.6.0_13\bin\javac.exe
goto rdy
:fail!
cls
echo.
echo  JDK was not found.
echo  Look in your C:\..\java\  If there is any JDK folder.
echo  If there is, type in the JDK version.
echo.
set /p new=%programfiles%\java\jdk1.6.0_
set cc=%programfiles%\Java\jdk1.6.0_%new%\bin\javac.exe
if not exist="%cc%" goto fail!
goto rdy

:rdy
@echo off
cls
echo.
echo      ~JDK was found~
echo.
echo  Press a button to start.
echo.
pause
cls
echo.
%cc% *.java
echo.
echo.
pause
goto rdy

How to use it?

1. Open Notepad
2. Paste the code inte it.
3. Save the file as Rhin0Compiler.bat
4. Click on it clown
Back to top Go down
mageofmagers
Forum Moderator
Forum Moderator
mageofmagers


Posts : 367
Rep. : 7
Join date : 2009-07-04
Age : 31
Location : Watching you

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeWed Jul 29, 2009 8:54 am

Oh so that is for if you don't know what jdk you have?
Back to top Go down
Rhin0
3D Designer
3D Designer



Posts : 63
Rep. : 3
Join date : 2009-07-11
Age : 31
Location : Sweden

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeWed Jul 29, 2009 10:24 am

Well, i've seen many compilers but every time i have to edit it.

So now i made a compiler that finds it instead xD
Back to top Go down
mageofmagers
Forum Moderator
Forum Moderator
mageofmagers


Posts : 367
Rep. : 7
Join date : 2009-07-04
Age : 31
Location : Watching you

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeWed Jul 29, 2009 11:51 am

Lol nice. Good job
Back to top Go down
gurkan
Coders
Coders
gurkan


Posts : 138
Rep. : 3
Join date : 2009-07-04
Age : 29

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeFri Aug 07, 2009 2:54 pm

good Very Happy

but isn't it unnececary long?

the compiler i use:

Code:
@echo off
title Compile
cd Source
"C:\Program Files\Java\Bin\javac.exe" -cp . -d ./Bin/ ./*java
pause
Back to top Go down
Rosetta
Novice Player
Novice Player



Posts : 21
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeFri Aug 07, 2009 4:23 pm

Ergh, I had one that automatically found the file directory but I can't remember what it was and I deleted it :c
Back to top Go down
Rhin0
3D Designer
3D Designer



Posts : 63
Rep. : 3
Join date : 2009-07-11
Age : 31
Location : Sweden

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeMon Aug 10, 2009 5:03 pm

Lol Gurkan. Smile

But why use "C:\Program Files\..."
When you can use "%programfiles&\..."

And i dont understand how you can use "Javac" without using jdk folder
Classpath maybe?

Some computers like mine used the folder c:\Program\java

So that compiler would'nt work at my comp Razz
Back to top Go down
gurkan
Coders
Coders
gurkan


Posts : 138
Rep. : 3
Join date : 2009-07-04
Age : 29

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeFri Aug 14, 2009 6:07 pm

hmm i tried to compile an other server that i edited but my compiler didnt work.
so i decided to try this but it didnt work either.
Back to top Go down
stopperbud
Novice Player
Novice Player



Posts : 27
Rep. : 0
Join date : 2009-07-04

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeFri Aug 14, 2009 10:39 pm

i guess ur using jdk #14
at least thats the one im using
Back to top Go down
sunny
Experienced Player
Experienced Player
sunny


Posts : 212
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeMon Aug 17, 2009 10:06 pm

im tryin to put d claws on my server and the compiler wont work i copy and pasted urs like u said rhin0 but then wut can it do in a note pad?
Back to top Go down
Rhin0
3D Designer
3D Designer



Posts : 63
Rep. : 3
Join date : 2009-07-11
Age : 31
Location : Sweden

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeTue Aug 18, 2009 8:34 am

You can edit it in the .txt file..

<i>Save the file as Rhin0Compiler.bat</i>
Then it should be in .Bat

=Batch and then you can use it.

Also look if you got any of the JDK's.
Back to top Go down
sunny
Experienced Player
Experienced Player
sunny


Posts : 212
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeTue Aug 18, 2009 6:20 pm

omfg i cant use clients anymore bcause of (jdk) after i downloaded version 6 update 14 it stopped letting me run clients and run my server host how do i fix this
Back to top Go down
Admin
Admin
Admin


Posts : 168
Rep. : 2
Join date : 2009-07-04

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeTue Aug 18, 2009 7:04 pm

Just do a system restore... to the point at which you didn't have it downloaded...
Back to top Go down
https://freeroam.forumotion.net
Rhin0
3D Designer
3D Designer



Posts : 63
Rep. : 3
Join date : 2009-07-11
Age : 31
Location : Sweden

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeWed Aug 19, 2009 7:20 am

Dont use the system restore..

Gah silent

I made this just 4 you.

Spoiler:

Edit the current Run.bat with this.
Back to top Go down
sunny
Experienced Player
Experienced Player
sunny


Posts : 212
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeWed Aug 19, 2009 4:24 pm

ty ill try it now
Back to top Go down
sunny
Experienced Player
Experienced Player
sunny


Posts : 212
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeWed Aug 19, 2009 5:04 pm

whats the egui is there a download for it it says it cannot find it
Back to top Go down
Admin
Admin
Admin


Posts : 168
Rep. : 2
Join date : 2009-07-04

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeWed Aug 19, 2009 7:53 pm

Put into notepad and save it as .bat

Or did you do that and ur asking a detour?

ERGH
Back to top Go down
https://freeroam.forumotion.net
sunny
Experienced Player
Experienced Player
sunny


Posts : 212
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeWed Aug 19, 2009 9:12 pm

i did that alrdy but it says it cannot find egui class
Back to top Go down
Rhin0
3D Designer
3D Designer



Posts : 63
Rep. : 3
Join date : 2009-07-11
Age : 31
Location : Sweden

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeThu Aug 20, 2009 4:38 pm

Did you want to run a Client or a server?

Look around in the Folder, see if there's any class files..
And copy and write the old Run.bat here, thanks.
Back to top Go down
sunny
Experienced Player
Experienced Player
sunny


Posts : 212
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeThu Aug 20, 2009 4:40 pm

both and dude im scared what if i cant fix it and i cant play freeroam ive been waiting so long omfg im so scared
Back to top Go down
Rhin0
3D Designer
3D Designer



Posts : 63
Rep. : 3
Join date : 2009-07-11
Age : 31
Location : Sweden

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeThu Aug 20, 2009 4:41 pm

I'll help you.

So i promise you'll be able to play Wink

Copy the old Run.bat and type it here..
Back to top Go down
sunny
Experienced Player
Experienced Player
sunny


Posts : 212
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeThu Aug 20, 2009 4:41 pm

thank u rhin0
Back to top Go down
sunny
Experienced Player
Experienced Player
sunny


Posts : 212
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeThu Aug 20, 2009 4:42 pm

there are diffrent ones i was using diffrent sources and client and they wouldnt work
Back to top Go down
sunny
Experienced Player
Experienced Player
sunny


Posts : 212
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeThu Aug 20, 2009 4:45 pm

:set
cls
@echo off
@title Rhin0's Run
set run="EGUI"
if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
:compile
for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\java.exe")
if defined p (%p% %run%)
if defined p (goto end)
:end
pause
exit
:error
echo Cant find JDK.
pause
exit
Back to top Go down
sunny
Experienced Player
Experienced Player
sunny


Posts : 212
Rep. : 0
Join date : 2009-07-05

Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitimeThu Aug 20, 2009 4:46 pm

@echo off
cls
java -Xmx500m Gui
pause
Back to top Go down
Sponsored content





Rhin0's Compiler Empty
PostSubject: Re: Rhin0's Compiler   Rhin0's Compiler I_icon_minitime

Back to top Go down
 
Rhin0's Compiler
Back to top 
Page 1 of 2Go to page : 1, 2  Next

Permissions in this forum:You cannot reply to topics in this forum
Freeroam :: Off Topic-
Jump to: