D
D
Denis Karakchiev2015-03-27 02:50:38
Java
Denis Karakchiev, 2015-03-27 02:50:38

Running a program in Java 8. Where did the bin folders go?

In the project folder, instead of bin and src, there are build and src. Now build is bin, or do I really need cat /dev/ass > /dev/head ?
Apparently, after all, the latter, because on the command line when you try to enter C: \ project name \ bin ru.sitename.programm substituting build instead of bin, cmd gives out Error: Could not find or load main class blabla.
UPD: I figured out the launch by packing the archive into a .jar, now it works from cmd. But nevertheless, the course instructor made me do something with running the class file from cmd without exporting to .jar. Why it didn't work, any ideas?
The calling code was: "java -classpath C:\Eclipse\Helloworld\bin ru.specialist.Programm". Did in accordance with the instructions, the Eclipse folder, respectively, just the name of the folder with the projects.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question