ANALGINS Posted August 13, 2007 Report Share Posted August 13, 2007 kads zin ka salabot sekojoso eroru? "javac is not recognized as an internal or external command, operatable proggram or batch file Link to comment Share on other sites More sharing options...
Norek Posted August 13, 2007 Report Share Posted August 13, 2007 http://forum.java.sun.com/thread.jspa?thre...&tstart=270 Link to comment Share on other sites More sharing options...
ANALGINS Posted August 13, 2007 Author Report Share Posted August 13, 2007 es jau to izlasiju, un man diemzel neaizgaja kur ir problema.. mypc -> advanced -> environment variables esmu ierakstijis to C:\j2sdk1.4.2_15\bin gan augsa gan apaksa bet nu neaiziet kapec neiet.. Link to comment Share on other sites More sharing options...
Norek Posted August 13, 2007 Report Share Posted August 13, 2007 (edited) Bet palaid no comand prompta. Pofig, ka Tu viņus esi tur ierakstījis. Edited August 13, 2007 by n0r3k Link to comment Share on other sites More sharing options...
ANALGINS Posted August 13, 2007 Author Report Share Posted August 13, 2007 (edited) tipa katru reizi rakstit to celu lidz ../bin/ jatram *.java failam ? baigi gari sanaktu un ar tam zalem gugle ari neiet labi, nekadigi nevaru iebraukt kur ir huinja katra zinja tas ari nesanak man, visticamak ka nepareizi rakstu direktus c:/sdk/bin f:/javastuff/ *.java (2 *.java faili +1 *.jre fails) ko isti rakstit @ cmd ? ;( Edited August 13, 2007 by ANAL-GINS Link to comment Share on other sites More sharing options...
0xDEAD BEEF Posted August 13, 2007 Report Share Posted August 13, 2007 (edited) Pieliki pie path? lai parbudity raksti cmd prompta set | more un parbaudi, vai pie path ir pievienojies. dators ir japarstarte, lai tie env variabli statos speka. Karoce - path ir tavas problemas risinajums. un ja tu gribi .java palaist no windowsa, tad pieliec pie open with, bet to jau laikam tu zini. btw, izmanto nevis /, bet gan \ un lieca pedinjas, ja celja ir atstarpes. un parbaudi failu pieejas tiesibas, ja nekas no ta visa nelidz, bet vajadzetu lidzet. par 5cuku esmu ar mieru remote desktop pie tevis un salabot problemu! Beefs mypc -> advanced -> environment variables esmu ierakstijis to C:\j2sdk1.4.2_15\bin gan augsa gan apaksa bet nu neaiziet kapec neiet.. Edited August 13, 2007 by 0xDEAD BEEF Link to comment Share on other sites More sharing options...
ANALGINS Posted August 13, 2007 Author Report Share Posted August 13, 2007 (edited) Karoce - path ir tavas problemas risinajums. un ja tu gribi .java palaist no windowsa, tad pieliec pie open with sho gabalu neiebraucu, kur jaliek open with ? ediite ja domaji tos *.java failus vert vala ar ../bin/javac.exe vala tad tas neder, tipa cmd rakstu cd c:\sdk\bin\javac -classpath f:\ircbot pircbot.jar;. *.java un tad vinjs saka th3 file name directory name or volume label syntax is incorrect bet ja rakstu cd c:\sdk\bin javac -classpath F:\ircbot pircbot.jar;. *.java tad paradas javac: invalid flag: pircbot.jar;. usage: javac <option> <source files> where posible option include: gars saraksts... Edited August 14, 2007 by ANAL-GINS Link to comment Share on other sites More sharing options...
Kavacky Posted August 14, 2007 Report Share Posted August 14, 2007 Control Panel -> Folder Options -> File Types... Link to comment Share on other sites More sharing options...
0xDEAD BEEF Posted August 14, 2007 Report Share Posted August 14, 2007 Tapec, ka tu huinju raksti! 1) nevar rakstit cd c:\cdk\bin\javac ..., jo cd komanda nomaina tekoso direktoriju. attiecigi javac ir fails. var rakstit prosta c:\sdk\bin\javac .... 2) tu stabili nodod nepareizus parametrus javac progai. a) atstarpes nenem preti prompts, jaraksta javac "-classpath F:\ircbot pircbot.jar;. *.java" nezinu, kas tie par parametriem ;.*.java, bet esmu diezgan parliecinats, ka ta rakstit nav pareizi. raksti javac /? vai -h vai /h un iiemacies pareizu sintaksi/ Beefs javac -classpath F:\ircbot pircbot.jar;. *.java ediite ja domaji tos *.java failus vert vala ar ../bin/javac.exe vala tad tas neder, tipa cmd rakstu cd c:\sdk\bin\javac -classpath f:\ircbot pircbot.jar;. *.java un tad vinjs saka th3 file name directory name or volume label syntax is incorrect bet ja rakstu cd c:\sdk\bin javac -classpath F:\ircbot pircbot.jar;. *.java tad paradas javac: invalid flag: pircbot.jar;. usage: javac <option> <source files> where posible option include: gars saraksts... Link to comment Share on other sites More sharing options...
ANALGINS Posted August 14, 2007 Author Report Share Posted August 14, 2007 chdir - change directory ? right ? f:\ircobot javac *.java un paradijas shis skriins, source kopeju no tutorialja tapec ari te tik debili posteju X_X Link to comment Share on other sites More sharing options...
0xDEAD BEEF Posted August 15, 2007 Report Share Posted August 15, 2007 nu pizdec.. kas mes tev kadijava guru! zini ko.. labak met tai javai ar mieru! Vins tev saka, ka nevar nokompilet un piepisas pie katras rindinas tava koda! Sac ar kaut ko vienkarasaku, iemacies vispirms, kas ir klase! nu ok 1) tev ir klase mybot. to, ka tev ir tada klase, tu pateici rakstot "class mybot". Butu pareizi, ja tu visu to krepu butu ielicis faila ar nosaukumu MyBot.java (case sensitive), lai javac velak zinatu, kura faila ta klase stav, ja tev vinu sagribetos izmantot 2) Tava klases extendo klasi PircBot. tas nozime, ka ir tada pati ka pircbot + fichas. izskatas, ka kompileris nevar atrast pircbot packagi. 3) talak jau vins tev piepisas pie visa pec kartas, jo this.setname ir PircBot metode macies draugs! Beefs f:\ircobot javac *.java un paradijas shis skriins, source kopeju no tutorialja tapec ari te tik debili posteju X_X Link to comment Share on other sites More sharing options...
ANALGINS Posted August 15, 2007 Author Report Share Posted August 15, 2007 labi chau iesu guglet "java 4 newbies" Link to comment Share on other sites More sharing options...
Norek Posted August 15, 2007 Report Share Posted August 15, 2007 kapēc Tu vienkārši nenokačā windrop (windouzots eggdrops(best bot ever)), kas ir grafisks un nav nekāda čakara? Link to comment Share on other sites More sharing options...
ANALGINS Posted August 16, 2007 Author Report Share Posted August 16, 2007 tapec ka gugle neizmeta pirmajos 10 meginajumos neko kas butu ar tadu nosaukumu, un vispar ka lai zinu ka tas chernis nenonesis man particijas vai kko tamlidzigu neizdaris ? vispar nosaukums pec tada izklausas Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now