| BG Development · За реклама · За контакти |
Помощ Търсене Потребители Календар Правила |
| Здравей! ( Включване | Регистриране ) |
| Страници: (2) 1 [2] ( Първото ново мнение ) | ![]() ![]() ![]() |
| Gamma Goblin |
Публикувано на: 26-07-2018, 14:30
|
||
![]() Име: Група: Потребител Ранг: Почетен член Мнения: 4014 Регистриран на: 21.02.18 |
това звучи като виц за анален секс |
||
| Nabsovit |
Публикувано на: 26-07-2018, 17:46
|
|
Име: Група: Потребител Ранг: Новопостъпил Мнения: 3 Регистриран на: 26.07.18 |
Благодаря за бързите отговори, но все още не съм сигурен как да направя едно нещо.
След като си свалих допълнителния изходен код, все още не мога да го използвам, пиша това, което ми пише в "Read me"-файла, обаче пак ми дава грешка.. Вече не знам къде бъркам. Ще постна цялото описание:" Compiling the Classes The production classes are self-contained -- they don't have any dependencies on external class libraries etc. So, to compile the production classes for Chapter 3 -- Lists -- enter the following command: javac -sourcepath main main/com/wrox/algorithms/lists/*.java This invokes the compiler telling it to compile all production files in the com.wrox.algorithms.lists package. Notice the the -sourcepath main option. This tells the compiler where to look for any other files it may need. For example, in this case, the code for Chapter 3 depends on the code for Chapter 2 -- Iteration and Recursion -- so the compiler needs to know where to look to find the dependent source files. Compiling the test classes is similar except for one thing: they depend on JUnit. So, in order to compile the test classes, you will first need to download a copy of JUnit from here and extract the junit.jar file. Once this is done, you can compile the test classes for Chapter 3 by entering the following command: javac -classpath junit.jar -sourcepath main test/com/wrox/algorithms/lists/*.java This invokes the compiler telling it to compile all test files in the com.wrox.algorithms.lists package2. Once again, notice the extra -sourcepath main option telling the compiler where to look for any other files it may need." Ако някой има идея нека да сподели, моля! |
| FidelDahan |
Публикувано на: 26-07-2018, 20:02
|
![]() Име: Група: Потребител Ранг: Почетен член Мнения: 2429 Регистриран на: 12.06.08 |
|
| Nabsovit |
Публикувано на: 26-07-2018, 20:52
|
|
Име: Група: Потребител Ранг: Новопостъпил Мнения: 3 Регистриран на: 26.07.18 |
Благодаря.
|
Страници: (2) 1 [2] |
![]() ![]() ![]() |