A
A
Artem Kalachyan2013-10-26 20:51:52
Java
Artem Kalachyan, 2013-10-26 20:51:52

JavaFX - jar build issue in Intellij Idea?

I ran into a problem in Intellij Idea - it does not build the "correct" jar file from a small JavaFX project. I'm trying to build the assembly culturally, through Build artifacts. As a result, I get an error (the name of the temporary file, of course, changes every time):

Java FX Packager: 
BUILD FAILED
Error reading project file C:\Users\Артем\.IdeaIC12\system\compile-server\_temp_\build1395685929022000748.xml: Invalid byte 1 of 1-byte UTF-8 sequence.
 
Total time: 0 seconds

The jar file turns out to be broken, when launched it gives an error "Corrupt jar file". What can be wrong?
Someone told me that I need to open a file in a hex editor that the idea swears at and delete the first byte - it seems to be not needed and appears after the emergency closing of the idea. But since the swearing refers to a temporary file, this option is not suitable.
P. S: both NetBeans and Eclipse are identical, but newly created projects are assembled normally, but it’s not very convenient for me to work in them.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Chistov, 2015-03-11
@borischistov

There was such a problem - when I indicated the Title in Russian, in the javafx tab in the artifacts section.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question