Welcome to the forums
Community
Navigation
WC Navigation
Main Page
Article Directory
Affiliate Directory
IM Blog Directory
Download Directory
Forum Menu
Home
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Mark Forums Read
View Forum Leaders


Sponsor
Klik Disini Untuk Menaja!.
Terima kasih diucapkan kepada pihak-pihak yang telah sudi menaja kewujudan website ini..



Iklan Berbayar
Klik Disini Untuk Mengiklan!.


Adverse Credit Remortgage
MySpace Layouts
Debt Consolidation
Finance
Clothing Directory

 


Welcome, Unregistered.
Member Panel
Go Back   WangCyber.com - Komuniti Usahawan Internet Malaysia > Umum & Rileks > Ada Sesiapa Yang Tahu...

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-06-2008, 01:14 PM
taiping_online's Avatar
WC300
 
Join Date: Dec 2006
Location: malaysia
Posts: 1,270
taiping_online is on a distinguished road
Send a message via Yahoo to taiping_online
iTrader: (5)
Default java problem!

assalamualaikum,

ada sesapa x bleh bgtau aku, cam mana nak pisahkan program yg aku coding kat Dr. Java utk menjadi sebuah software? keyword utk benda tu kalo x silap aku, 'execute'

pendek citer, nak kasi software yg aku coding tu, bleh di install kat comp lain tanpa perlu run kat Dr.Java, guna Java compiler dan sebagainya.


Reply With Quote
  #2 (permalink)  
Old 03-06-2008, 03:33 PM
ramfir's Avatar
WC300
 
Join Date: Dec 2006
Location: Malaysia
Posts: 763
ramfir is on a distinguished road
iTrader: (16)
Default

cuba combine dengan flash


Reply With Quote
  #3 (permalink)  
Old 03-06-2008, 03:38 PM
richman's Avatar
WC300
 
Join Date: Jul 2007
Location: Malaysia
Posts: 190
richman is on a distinguished road
Send a message via Yahoo to richman
iTrader: (10)
Default

mana boleh pisahkan.. kalo nk jadikan exe pun kena pack sekali dgn java.. yang penting dalam pc mesti ade JRE


Reply With Quote
  #4 (permalink)  
Old 03-07-2008, 02:06 AM
taiping_online's Avatar
WC300
 
Join Date: Dec 2006
Location: malaysia
Posts: 1,270
taiping_online is on a distinguished road
Send a message via Yahoo to taiping_online
iTrader: (5)
Default

JRE tu kena install lain ke ataupun dah memang siap ada dlm pack JDK?

bleh x tolong kasi step by step utk execute?

'pisahkan' yg di maksudkan bukannya bermaksud aku nak pisahkan ngan JAVA. aku x mo bukak program dan run guna Dr. Java je memanjang... nak kasi dia cam autorun mcm software2 lain.


Reply With Quote
  #5 (permalink)  
Old 03-07-2008, 09:50 AM
richman's Avatar
WC300
 
Join Date: Jul 2007
Location: Malaysia
Posts: 190
richman is on a distinguished road
Send a message via Yahoo to richman
iTrader: (10)
Default

OK.. macam nie berdasarkan pengalaman saya, software yg diperbuat dari java nie memang memerlukan java untuk dirun.. nie memang tak boleh lari punya.. Kalau nak install di PC, PC tersebut perlu ada JRE (Java Run-Time Environment).. Nie boleh di download kat sun.. anda tk perlu install JDK. Ape yang perlu awk buat:

1. Jadikan software awak tu dalam bentuk JAR.. contohnya kalau software itu nama financial, jadikan lah financial.jar..
2. buat batch file untuk dia.. panggil financial.jar nie.. bila klik pada batch file nie, software awk pun up lah..

faham tak sampai situ..


Reply With Quote
  #6 (permalink)  
Old 03-07-2008, 01:17 PM
Han's Avatar
Han Han is offline
WC300
 
Join Date: Sep 2007
Posts: 636
Han is on a distinguished road
Send a message via Yahoo to Han
iTrader: (1)
Default

menarik ni...
saya berminat juga nak tahu...

mcm mana nak tukar kan financial ke financial.jar? rename ke mcm mana?
mcm mana pula nak buat batch tu?


Reply With Quote
  #7 (permalink)  
Old 03-07-2008, 04:46 PM
richman's Avatar
WC300
 
Join Date: Jul 2007
Location: Malaysia
Posts: 190
richman is on a distinguished road
Send a message via Yahoo to richman
iTrader: (10)
Default

Jar file boleh buat manual ataupun guna IDE yg sedia ada spt netbeans, jbuilder,eclipse n so on..

Cth:
structure fail:
(package)
financial > financial.class
> finance folder
> images folder

kalau manual ade 2 care
1. guna ant
- nie kene create build.xml dulu dan create batch file
2. secara terus guna java compiler command
- jar cvf financial.jar financial.class finance images
3. create batch file
dlm batch file tulis lebih kurang camni:
@echo off
setlocal
set JAVA_HOME=C:\jdk1.3.1_04
set CLASSPATH=%JAVA_HOME%\orion.jar;%JAVA_HOME%\tools. jar
%JAVA_HOME%\jre\bin\java -Xms256M -Xmx512M financial -userThreads
endlocal

4. save file cthnya financial.bat
5. Pastu run guna financial.bat tu..

faham tak sampai situ


Reply With Quote
  #8 (permalink)  
Old 03-11-2008, 12:25 PM
taiping_online's Avatar
WC300
 
Join Date: Dec 2006
Location: malaysia
Posts: 1,270
taiping_online is on a distinguished road
Send a message via Yahoo to taiping_online
iTrader: (5)
Default

rasanya nak kena try guna jbuilder plak lpas ni lah

nak creat batch tu, nak guna apa yerk?

anywhere, thanks for your lllooooooonnnggg explanation. susah wo nak search kat mr.google

Quote:
Originally Posted by richman View Post
Jar file boleh buat manual ataupun guna IDE yg sedia ada spt netbeans, jbuilder,eclipse n so on..

Cth:
structure fail:
(package)
financial > financial.class
> finance folder
> images folder

kalau manual ade 2 care
1. guna ant
- nie kene create build.xml dulu dan create batch file
2. secara terus guna java compiler command
- jar cvf financial.jar financial.class finance images
3. create batch file
dlm batch file tulis lebih kurang camni:
@echo off
setlocal
set JAVA_HOME=C:\jdk1.3.1_04
set CLASSPATH=%JAVA_HOME%\orion.jar;%JAVA_HOME%\tools. jar
%JAVA_HOME%\jre\bin\java -Xms256M -Xmx512M financial -userThreads
endlocal

4. save file cthnya financial.bat
5. Pastu run guna financial.bat tu..

faham tak sampai situ


Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
adbrite aku ada problem. nakaltitude Program Jana Wang Online 8 03-04-2008 05:43 PM
Problem gak nie... biznezprepaid Ada Sesiapa Yang Tahu... 12 02-24-2008 09:31 PM
problem ngan rss feed countll Pembangunan Web 1 01-03-2008 01:27 PM
Smilies wordpress problem taiping_online Ada Sesiapa Yang Tahu... 7 12-29-2007 12:38 PM
Adsense Ade Problem kaiba910 Sembang Umum 3 10-21-2007 11:17 AM


All times are GMT +8. The time now is 10:56 AM. - Forum style by ForumMonkeys
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0