Page 1 of 1
Hide JVLC java console (comand line)
Posted: 16 Jan 2007 11:52
by Iker
Hi,
Anybody knows how to hide the java console when I create a new JVLCPanel object?. I need to hide this console and only have in the screen my swing window.
Thanks
Posted: 16 Jan 2007 17:59
by ahmdprog
Hi,
this is not java console, now you are executing Java application using command line, then the console will stay open.
to solve this problem, you can make Jar(executable) package, and then your application will looks like executable no console will open.
if you are running in windows, then you can make also exe file, then your java application will looks like any other application without console.
i hope this will help you.
Regards,
Same problem
Posted: 17 Jan 2007 16:24
by Iker
Hi,
I still have this problem. I build a jar file with all files that app needs, but when I launch the app, one DOS window appears and remains until app closing.
I call the jar file with "start javaw -jar app.jar" but this sentence only hides the main javaw window, but never the DOS window of VLC (appears when new JVLC is called in code). I must do it, but I don't know how.
Thanks by your response.
Regards
Posted: 17 Jan 2007 17:11
by Iker
Hi,
I solve it
.. as many problems that seems hard problems finally it was a very easy issue, I only need change the second argument of JVLC paramaters arg[1]="--extraintf=logger".
The first thing that we must do to see the things is open the eyes
Thanks
Re: Hide JVLC java console (comand line)
Posted: 22 Aug 2008 07:59
by saurabh
Wht does this thing do.. ?
arg[1]="--extraintf=logger".
I have also built my application using jvlc but when I run it by creating a jar file it doesnt respond...
So could u please tell how do i bundle my application in jar file..
Thanks in advance...