The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Centrafuse

Reply
 
Thread Tools Display Modes
Old 07-24-2006, 11:19 PM   #1
Constant Bitrate
 
red_parchel's Avatar
 
Join Date: Jul 2006
Location: CT
Vehicle: 2000 Chevy Blazer 4door 4x4
Posts: 198
My Photos: (11)
java embeded

I have writen a java app to control my serial relay for manythings, and im trying to get it embeded into CF, if any one can think of a really clean way to do this let me know, i currantly have my .class file, i tried converting it into a .exe but the .exe conversion program doesnt use the entire c:\....bin\java to run it so it will not run properly, i've tried creating a .bat file and embeding it, which works but the command window stays open, if i could some how get rid of the command window that would work .. .any idea's? any one embed jave yet? i did search, couldnt find much ... thanks in advance

- I'm an IT major, not a programer, but im tryin'!
__________________
Carputer Status:
MobileOne: Gentoo reinstall/optimization - coming soon!
MobileTwo: ubuntu quick fix while MobileOne's out of service
--worklog--GeekBlog--
Audio: stage 2 nearing completion
red_parchel is offline   Reply With Quote
Sponsored Links
Old 07-24-2006, 11:32 PM   #2
MySQL Error
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 4,955
My Photos: (0)
Quote: Originally Posted by red_parchel
I have writen a java app to control my serial relay for manythings, and im trying to get it embeded into CF, if any one can think of a really clean way to do this let me know, i currantly have my .class file, i tried converting it into a .exe but the .exe conversion program doesnt use the entire c:\....bin\java to run it so it will not run properly, i've tried creating a .bat file and embeding it, which works but the command window stays open, if i could some how get rid of the command window that would work .. .any idea's? any one embed jave yet? i did search, couldnt find much ... thanks in advance

- I'm an IT major, not a programer, but im tryin'!

You might could try converting it to J# and it might work as a CFPlugin...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline   Reply With Quote
Old 07-25-2006, 12:18 AM   #3
Variable Bitrate
 
bishooman's Avatar
 
Join Date: Jan 2006
Location: Kuwait
Vehicle: IMPREZA WRX TR 2006
Posts: 234
My Photos: (0)
Quote: Originally Posted by veetid
You might could try converting it to J# and it might work as a CFPlugin...

david

or can open Visual Studio .Net go to File --> Open ---> Convert
select Java Language Conversion Assistant and then next
select Directory containing project files
select your files and then complete the wizard.

it will convert your java code to C# then you can compile it and use it easily with CF
good luck
__________________
We Exist because there is no patch for human Stupidity !!

We need you ALL Here !!
bishooman is offline   Reply With Quote
Old 07-25-2006, 06:44 AM   #4
Constant Bitrate
 
red_parchel's Avatar
 
Join Date: Jul 2006
Location: CT
Vehicle: 2000 Chevy Blazer 4door 4x4
Posts: 198
My Photos: (11)
veetid and bishooman .. thanks ill try this tonight after work thanks!
__________________
Carputer Status:
MobileOne: Gentoo reinstall/optimization - coming soon!
MobileTwo: ubuntu quick fix while MobileOne's out of service
--worklog--GeekBlog--
Audio: stage 2 nearing completion
red_parchel is offline   Reply With Quote
Old 07-25-2006, 09:58 AM   #5
Lum
Variable Bitrate
 
Lum's Avatar
 
Join Date: Jan 2005
Location: Liverpool, England
Vehicle: 1999 JDM Subaru Legacy B4 RSK
Posts: 334
My Photos: (0)
This might work

App: C:\WINDOWS\SYSTEM32\CMD.EXE
Params: /C START C:\YourApp\YourApp.class

or

Params: /C START /MIN C:\...\bin\java.exe C:\YourApp\YourApp.class

Failing that, knock up a wrapper in autoit that hides any unwanted command windows.
Lum is offline   Reply With Quote
Old 07-26-2006, 04:31 PM   #6
Constant Bitrate
 
red_parchel's Avatar
 
Join Date: Jul 2006
Location: CT
Vehicle: 2000 Chevy Blazer 4door 4x4
Posts: 198
My Photos: (11)
Quote: Originally Posted by Lum
This might work

App: C:\WINDOWS\SYSTEM32\CMD.EXE
Params: /C START C:\YourApp\YourApp.class

or

Params: /C START /MIN C:\...\bin\java.exe C:\YourApp\YourApp.class

Failing that, knock up a wrapper in autoit that hides any unwanted command windows.

tried this and just couldnt get it to go, it doesnt like the c:\java\relay\relayGui.class paramater ... ill try something else .. good thought though
__________________
Carputer Status:
MobileOne: Gentoo reinstall/optimization - coming soon!
MobileTwo: ubuntu quick fix while MobileOne's out of service
--worklog--GeekBlog--
Audio: stage 2 nearing completion
red_parchel is offline   Reply With Quote
Old 07-26-2006, 04:59 PM   #7
Lum
Variable Bitrate
 
Lum's Avatar
 
Join Date: Jan 2005
Location: Liverpool, England
Vehicle: 1999 JDM Subaru Legacy B4 RSK
Posts: 334
My Photos: (0)
If you double click on the .class file within windows, does it load correctly?
Lum is offline   Reply With Quote
Old 07-26-2006, 08:03 PM   #8
Constant Bitrate
 
red_parchel's Avatar
 
Join Date: Jul 2006
Location: CT
Vehicle: 2000 Chevy Blazer 4door 4x4
Posts: 198
My Photos: (11)
no, even if i point it to "open with" c:\...\bin\java.exe it does not
__________________
Carputer Status:
MobileOne: Gentoo reinstall/optimization - coming soon!
MobileTwo: ubuntu quick fix while MobileOne's out of service
--worklog--GeekBlog--
Audio: stage 2 nearing completion
red_parchel is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java FE eljimbo General MP3Car Discussion 5 08-28-2007 10:45 AM
any of the frontends java or javascript based? blackcar Newbie 5 01-14-2006 02:34 PM
Help with skin OVER embeded GPS RiXst3r Road Runner 4 05-31-2005 03:59 PM
$125 for Java Program SnyperBob Off Topic 24 04-23-2005 05:59 AM
Java based #mp3car irc?? Tidder Suggestions/Comments 5 02-02-2005 05:56 PM


All times are GMT -5. The time now is 08:31 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics