Smartgambler
Pro-Punter

Go Back   OZmium Sports Betting and Horse Racing Forums > Public Forums > Horse Race Betting Systems
User Name
Password
Register FAQ Search Today's Posts Mark all topics as read

To advertise on these
forums, e-mail us.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 6th April 2011, 10:29 AM
YoungBuck YoungBuck is offline
Member
 
Join Date: Jan 2005
Posts: 436
Default

Quote:
Originally Posted by Shaun
You need to get that working or you won't be able to compile your program, this means you won't be able to put it all together to run, i have same issue on win 7 i am going to try an uninstall and reinstall in different location.
Oh i see.

I too am using w7, i just thought that windows way was optional, you could choose to bypass it and use Netbeans to compile - "We recommend using the NetBeans IDE instead of the command line whenever possible"

I tried re-installing but not yet at new location. I'll try your suggestion too.
__________________
All generalizations are dangerous.
Reply With Quote
  #22  
Old 6th April 2011, 12:59 PM
stugots stugots is offline
Banned
 
Join Date: Jan 1970
Posts: 879
Default

there are 32 bit & 64 bit versions of javac, which may be the reasons for your install problems on windows7 as I had no problems?
Reply With Quote
  #23  
Old 6th April 2011, 01:06 PM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,456
Default

Windows 7 will run both so maybe the 32 bit version might be better.
Reply With Quote
  #24  
Old 6th April 2011, 04:54 PM
wesmip1 wesmip1 is offline
Member
 
Join Date: Sep 2005
Posts: 1,601
Default

Quote:
Originally Posted by thorns
Hey Wesmip,

Thanks for taking the time to do this thread.
Quick question, are you planning on leaving this thread up for a while? I am about to go away on holiday for a couple of weeks, so wont be able to start till after I get back.

Cheers

thorns,

It will be here when you get back. I'll monitor the threads for people who start late
Reply With Quote
  #25  
Old 6th April 2011, 05:02 PM
wesmip1 wesmip1 is offline
Member
 
Join Date: Sep 2005
Posts: 1,601
Default

shaun, Youngbuck,

If you get issues with "'javac' is not recognized as an internal or external command, operable program or batch file".

It means that the environment path has not been setup correctly. To fix this find the directory that hs javac.exe in it (it will be in your JDK directory\bin).

Go to the control panel in windows and go to System. Half way down you should see something about Computer Name, Workstation, etc. There is a change setting sbutton here. Click that and another screen opens. Go To advanced. Click on Environment Variables. In the bottom section you should see an entry called Path. Edit this entry and add in the directory where you found the javac.exe file.

For example my path currently is:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG;c:\ Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\IEInspector\HTTPAnalyzerFullV6\;%SYSTEMROOT% \System32\WindowsPowerShell\v1.0\

If javac.exe was in c:\java\bin\javac.exe I would change the above to be:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG;c:\ Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\IEInspector\HTTPAnalyzerFullV6\;%SYSTEMROOT% \System32\WindowsPowerShell\v1.0\;c:\java\bin\


Notice the use of ; to seperate the directory paths. You may need to restart windows to pick it up (sometimes you don't). It should then find javac from any directory.
Reply With Quote
  #26  
Old 6th April 2011, 05:04 PM
wesmip1 wesmip1 is offline
Member
 
Join Date: Sep 2005
Posts: 1,601
Default

Most of the time we will be using netbeans to do the compiling so even if ou can't find javac on the command line that is ok. As long as netbeans can compile a program you will be fine.

As far as 32 bit vs 64 bit. I would stick with 32 bit as I find 64 bit applications usually have compatibility issues. But if you installed 64 bit thats ok.
Reply With Quote
  #27  
Old 6th April 2011, 07:34 PM
moeee moeee is offline
Suspended
 
Join Date: Jan 1970
Location: Melbourne
Posts: 5,359
Default Too Old Too Slow

My Computer is probably too Old and lacking in stuff needed to run these Netbeans.

I installed the Programs and was doing the suggested HelloWorld App.

I got up to where it said to replace a line where it wrote "Todo something or rather" and type in "Hello World".

I was mucking about tryying to delete the line and the program locked up.
So I closewd the program and tried reopening but it seems the program wasn't saved prior to the lockup.

I figure I need to try again, but got annoyed and an gonna do tonights dogs and have a play again maybe tomorrow.

If it weren't so slow I woulda persevered.
When I did reOpen, it suggested I may have a virus or something.
I wouldn't be surprised because I have been visiting a few porn sited lately.]
Them Free Peep shows sure are addictive
Reply With Quote
  #28  
Old 6th April 2011, 09:02 PM
Raven Raven is offline
Member
 
Join Date: Jun 2006
Posts: 225
Angry

I havent had any problems with Netbeans (on Vista). When I downloaded there was an option to download the Java & Netbeans in one bundle, so I went for that option.

But my laptop will be crashing anytime soon, i can sense it. Since the weekend it freezes constantly, I have to do emergency shutdown & reboot 3 or 4 times a night & and thats just in the 2-3 hrs i have since i come home from work. I've tried downloading new drivers etc, but still the same.

Back on topic, today i got some info in the mail about a certain racing database, been around since the 80's. I was interested, until i saw the price, lol. Almost 3 grand each year, add another $1100 for some back data to kick you off & another $660 for data updates, almost 5 grand. Just have to perservere & learn to DIY.

footnote: I'll need that cash for a new pc anyway

Last edited by Raven : 6th April 2011 at 09:05 PM.
Reply With Quote
  #29  
Old 7th April 2011, 07:07 AM
wesmip1 wesmip1 is offline
Member
 
Join Date: Sep 2005
Posts: 1,601
Default

As per most IDE's they can be a bit memory intensive.

An alternate IDE to use that is not as memory intensive is eclipse. I only recommend netbeans as it is slightly easier to use especially if you want to make a GUI (graphical user interface) for your application.

Eclipse is less memory intensive and is my preffered IDE to use but it will be a lot more complicated to use for first time coders.

But if you find netbeans keeps locking then install the latest Eclispe version and use that instead.
Reply With Quote
  #30  
Old 7th April 2011, 08:03 AM
moeee moeee is offline
Suspended
 
Join Date: Jan 1970
Location: Melbourne
Posts: 5,359
Default Netbeans? Eclipse?

I only run Windows XP.
I might possibly Upgrade one day to Vista, but only if forced to for some unforeseen reason.

So do I need this Netbeans thing?
If Eclipse is okay then it appears that Netbeans ain't essential.
But do I actuall need an IDE? (whatever that is , I thought it was something to do with hard drives, First IDE , Second IDE )
Is it necessary to have this IDE thing and follow this thread ?
Or is it all exactly the same if I only have the JDK 6 Program installed?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
Forum Jump



All times are GMT +10. The time now is 02:06 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2008 OZmium Pty. Ltd. All rights reserved . ACN 091184655