View Full Version : ProjectX and Java
kikounet
7th May 2004, 13:12
Because I do not understand german, I would like to know wheter I should compile ProjectX or run it under a virtual machine?..
In each case should I use:
Borland JBuilder
GCJ Compiler
Sun Java SDK
IBM Jikes
Microsoft Java Virtual Machine
Sun Java Virtual Machine
Doom9 guide doesn't tell :confused:
the guide isn't meant to tell you how to compile since I provide a precompiled binary.
Install Sun's latest Java SDK from http://java.sun.com (preferably not the beta 1.5 version) and install it, then go to a commandprompt, switch to the directory where you extracted the projectx sources into and type:
C:\j2sdk1.4.2\bin\javac.exe -O *.java
replace c:\j2sdk1.4.2\ with whatever path you installed the jdk into (the version I have resides in c:\j2sdk1.4.2_2\) and press enter. This will compile the java code.
After that type
C:\j2sdk1.4.2\bin\jar.exe cfvm ProjectX.jar MANIFEST.MF *.class
(once again making sure the sdk directory path is in order) and press enter. This will create the projectx.jar file, on which you can now doubleclick to execute it. And that's all there is..
stax76
7th May 2004, 14:57
simply click on the jar file, if you install java the jar file will be registered by the setup with:
javaw.exe -jar %1
so if you click on a rar file without containing blanks in the path it should start, if you want to allow blanks in the path of the jar file or it don't start for some other reason like you've installed a file zipper after you've installed java and that application starts instead you have to edit the filetype jar (or try to install java again)
javaw.exe -jar "%1"
when will people learn the shell don't work without quotes if the path has blanks?
maybe this bug has been fixed in new installers of the java runtime.
btw: am I the only one java and Firebird is trashing my root dir (D:\), quite annoying
kikounet
7th May 2004, 15:14
Thank you very much both of you!
I saw the projectx.jar in Doom9's zip file but didn't guess (should I?) it was compiled!
In fact I expected a x86 *.exe file out of a compilation.
So I do have to install a Java Virtual Machine (not included with Windows XP anymore due to conflicts between Sun & Microsoft) to run it.
At the moment, WinRAR openend th projectx.jar file when double-clicking it as stated by Dolemite.
May I suggest Doom9 to add a link in his guide towards the Java Virtual Machine he suggest (Sun or Microsoft)?
Microsoft announce it's discontinuing his Java Environment and suggest at programmers a tool to migrate to VC+ under the .NET platform. JLCA 2.0
stax76
7th May 2004, 15:38
@Doom9
did you compile it? Maybe the one who compiled it can add something like this:
http://lopica.sourceforge.net/installer.html
perhaps it's not much more work than a third commandline, anybody used something like this?
yes, I compiled it myself.. I'm using Java on an almost daily basis these days.. but for the next month or so I'll be fully into C# again. It's great when I can decide which programming languages I want to use :) I don't think anything more is needed in the package since the guide is quite clear about how to launch the program (and if people don't read it I can slap 'em with rule 1 :devil:
@kikounet: I don't know which guide you saw, but I actually mention that you need a JRE (I even link to a page where you can download it), and how you can lanuch ProjectX afterwards: http://www.doom9.org/DigiTV/projectx.htm
The ProjectX full reference also mentions that the JRE is required, and explains how to launch the program.. the only thing missing (I shall add that) is a link to the jre download page @ sun.
kikounet
8th May 2004, 13:54
Beat me my master! :scared:
I just didn't reach the aforementioned page...
Instead i had look at Guides\TV-Capture & DV cameras\DVB to DVD-R guide\
And then http://www.doom9.org/DigiTV/projectx-fullguide.htm
or http://www.doom9.org/DigiTV/dvbs-soft.htm
then http://www.doom9.org/DigiTV/dvb-basics.htm
Sorry, apologize, confused, and so on :o
And forgive my english, cause I'm just a "frog eater" :eek:
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.