Running Java Project outside of IDE

Closed Thread

Join Date: Jul 2008
Posts: 86
Reputation: jhonnyboy is an unknown quantity at this point 
Solved Threads: 0
jhonnyboy jhonnyboy is offline Offline
Junior Poster in Training

Running Java Project outside of IDE

 
0
  #1
Jan 25th, 2009
hey guys i would like to know how it's possible to run a java project outside of it's IDE.

How can i get it running on a website?

I also tried running it on my computer but...navigating to the project through cmd and using the "java project" command to run it.

Excpetion in thread "main" java.lang.NoClassDefFoundError
Caused by: java.lang.ClassNotFoundException.....
Quick reply to this message  
Join Date: Jun 2006
Posts: 7,610
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 465
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Running Java Project outside of IDE

 
0
  #2
Jan 25th, 2009
Read the stickies at the top of this forum; they contain all the information required for a beginner to get started with Java - from scratch.
I don't accept change; I don't deserve to live.
Quick reply to this message  
Join Date: Oct 2008
Posts: 7
Reputation: eng.hosam84 is an unknown quantity at this point 
Solved Threads: 0
eng.hosam84 eng.hosam84 is offline Offline
Newbie Poster

Re: Running Java Project outside of IDE

 
-2
  #3
Jan 25th, 2009
Hi jhonnyboy .
you can use "j2e_enterprise" software , which converts .jar file to .exe file . Download it and try it , actually it's perfect for me .

hope my reply is helpful
best regards
eng.hosam84
Copyright © 2009 eng.hosam84@hotmail.com , All rights reserved.
Quick reply to this message  
Join Date: Dec 2007
Posts: 1,658
Reputation: javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all 
Solved Threads: 224
Featured Poster
javaAddict's Avatar
javaAddict javaAddict is offline Offline
Posting Virtuoso

Re: Running Java Project outside of IDE

 
0
  #4
Jan 26th, 2009
Originally Posted by eng.hosam84 View Post
Hi jhonnyboy .
you can use "j2e_enterprise" software , which converts .jar file to .exe file . Download it and try it , actually it's perfect for me .

hope my reply is helpful
best regards
eng.hosam84
That is the worst advice ever. To encourage someone to go all this trouble, when they already have a jar file that can be run. You are practically destroying the hole concept of writing the program in java.
Just because you don't have an IDE doesn't mean that you cannot run a jar file. IDEs weren't created to run files .jar or .class. Only to make life easier and to boost production.

If you read other similar threads everyone discourage the converting of a .jar into an .exe
Check out my New Bike at my Public Profile at the "About Me" tab
Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: Running Java Project outside of IDE

 
0
  #5
Jan 26th, 2009
Originally Posted by eng.hosam84 View Post
Hi jhonnyboy .
you can use "j2e_enterprise" software , which converts .jar file to .exe file . Download it and try it , actually it's perfect for me .

hope my reply is helpful
best regards
eng.hosam84
if you read his post more carefully, he asks how to run his project in a web site ..
so, genious, how many of your favourite sites did you convert to an .exe lately?
Quick reply to this message  
Join Date: Jun 2006
Posts: 7,610
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 465
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Running Java Project outside of IDE

 
0
  #6
Jan 26th, 2009
<mod-hat-off-mode>

I am *really* concerned with this recent stance taken by the regulars when dealing with posts which given out wrong information. It feels really bad when I see replies/comments along the lines of:

roseindia, are you kidding me???? One awful place they love to show-off most terrible solution
useless, irrelevant and dare someone call it even "information"
Useless information
That is the worst advice ever. To encourage someone to go all this trouble, when they already have a jar file that can be run. You are practically destroying the hole concept of writing the program in java.
so, genious, how many of your favourite sites did you convert to an .exe lately?
Great, just great, all I see is pointed words dripping with sarcasm. I'll tell you what you just did. Your comments didn't enable him to learn, they just discouraged him helping out people in the future with the fear that he would again be criticized.

So I ask you all, were you this smart/good to go with Java when you started as a beginner, would it have been wrong on your part to refer to roseindia when it was the first tutorial which came up from a web search, were you all smart enough to realize that what roseindia gives out is bad on all counts? Isn't this just *collective* knowledge you gained by being told by others / visiting the forums?

Does this poster have that kind of history of ignoring advice that you all felt it was necessary to be sarcastic and add out negative reputation? Was correcting him out by saying: "Maybe you misread the question, the OP is trying to ask something else" or "roseindia is a bad site with substandard content, try avoiding it" that hard? Was giving him a second chance that hard?

</mod-hat-off-mode>

<mod-hat-on-mode>

I appreciate the help given out by the forum regulars to the beginners out here; just don't make me hand out infractions under the 'Keep it pleasant' rule.

</mod-hat-on-mode>
Last edited by ~s.o.s~; Jan 26th, 2009 at 9:19 am.
I don't accept change; I don't deserve to live.
Quick reply to this message  
Join Date: Jul 2008
Posts: 86
Reputation: jhonnyboy is an unknown quantity at this point 
Solved Threads: 0
jhonnyboy jhonnyboy is offline Offline
Junior Poster in Training

Re: Running Java Project outside of IDE

 
0
  #7
Jan 26th, 2009
Thanks for the advice, but i wouldn't want to download a third party software to convert the .jar file to .exe
Last edited by jhonnyboy; Jan 26th, 2009 at 9:23 am.
Quick reply to this message  
Join Date: Nov 2008
Posts: 823
Reputation: verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough 
Solved Threads: 73
verruckt24's Avatar
verruckt24 verruckt24 is offline Offline
Practically a Posting Shark

Re: Running Java Project outside of IDE

 
0
  #8
Jan 26th, 2009
@~s.o.s~ :
I am afraid sos, but I do have a different opinion here, to prove my stance being correct here let me site you an example of another thread here. If you go through this thread - I think you have already gone through - you would come across my second post to him where I explain to him in the same tone that you ask us to in your above post, that copy-pasting top links without going through much of the OP's actual problem could be misguiding (I use the same word too). But with further reading you would have noticed that he disregards the advice altogether and tries to cover up his act saying that he had gone through the OP's post "carefully" and the examples given by him do really help the OP. Going through the examples yourself and understading the OP's actual problem do you think they were even remotely related ?
I don't think so. This is what was pointed out by me on which stephen84s supported me. The point I want to make here is, I tried telling him the polite way on avoiding the kind of behaviour he showed here. I also adviced him what he should do if he is really short on time, but he was too busy feeling pride in the so called help offered by him. It is the outright denying of wrong behaviour even after doing it and having been told politely about it, that I am not in support of. I guess this thing was felt by others too and thats the reason of the -ve rep.
Also as you say we too would not have been smart enough to know from the start whats bad and whats not, in my case I learnt the name of roseindia here and at the same time I learnt it was not recommended too and the reason for it, but even though and especially when one knows he's not smart he should be in an accepting mode if people advice him something politely. And at any times one should not be outrightly lying which I certainly found him doing.

To site you another example here : I would not like to go too far, it was with me itself, it was my first post and the topic too was close to this, JAR to .exe, masijade and stultuske and both adviced the OP and I felt the need of adding something more it. While doing so I made a wrong statement, which was refuted by masijade which I felt at that time was a bit unfriendly. I too responded to him in the same fashion, but I was wrong since what masijade was refuting to was actually a wrong statement, I realized this and promptly doled out an paology to him. I am not saying that the poster in question apologizes to anybody, he doesn't have to, I am saying that realizing his behaviour and the wrong example siting he should take a more softer stand than what he did.
Last edited by verruckt24; Jan 26th, 2009 at 9:57 am.
Get up every morning and take a look at the Forbes' list of richest people. If your name doesn't appear.... GET TO WORK !!!
Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: Running Java Project outside of IDE

 
0
  #9
Jan 26th, 2009
don't make me hand out infractions under the 'Keep it pleasant' rule.
Shucks I thought those were just some fictional stuff from some horror story to make us behave nicely.

Just to lighten the mood here.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Quick reply to this message  
Join Date: Jun 2006
Posts: 7,610
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 465
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Running Java Project outside of IDE

 
1
  #10
Jan 26th, 2009
> to prove my stance being correct here

Let me say this once again; the stance of posting sarcastic/hostile comments is never the correct one. Normally hostile attitude adopted towards a forum member is rewarded with an infraction; something I try avoid giving at all costs. Maybe this stance is causing other people/forum members to adopt an easy going attitude regarding moderators / forum rules?

And regarding the tone adopted by the poster, I have had similar experiences with people having English as their second/third language; the thing they try to convey ends up being different than what they end up writing.

Like almost every forum rules out there states, if you think you have nothing more to add other than flaming the poster, please avoid making that post. Rather than bringing the poster on the right track, it might have the effect of turning a perfectly fine discussion into a flame war.
Last edited by ~s.o.s~; Jan 26th, 2009 at 10:38 am.
I don't accept change; I don't deserve to live.
Quick reply to this message  
Closed Thread

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC