Achri's Profile
Reputation: 8
Worker
- Group:
- Active Members
- Active Posts:
- 52 (0.07 per day)
- Joined:
- 18-June 11
- Profile Views:
- 869
- Last Active:
Jun 26 2012 06:52 PM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Who Cares
- Favorite Browser:
- Who Cares
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Who Cares
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Game Development Tools/Resources
Posted 16 Apr 2012
I've been struggling with learning game architectures. This paper by Michael Doherty might be quite a few years old, but it managed to give me some direction that I didn't seem to find elsewhere on the net.
A Software Architecture for Games
I believe it is a component based design? -
In Topic: Command Line compiling/Jarring
Posted 30 Mar 2012
jon.kiparsky, on 30 March 2012 - 10:44 AM, said:The 1.7 release seems to be causing more trouble than usual. You might see if you can get up to 1.7 jre on your machine, or else cut back to 1.6 for your jdk. I'm not using 1.7 yet, it doesn't look like there's anything very exciting there for me and the headaches seem unwarranted. I'll be a late adopter on this one.
Yes, I installed the 1.7 JRE and that fixed things(I can dclick 1.7 JARs and they run). I still see my 1.6 JRE in the 32 bit directory after installation though. At least I can run my programs made w/ 1.7 now. Thanks. -
In Topic: Command Line compiling/Jarring
Posted 30 Mar 2012
Command Prompt:
C:\Users\Achri\Desktop\Mancala>java -jar Mancala.jar
Starts my application, the JFrame window with the JPanels pops up.
Window:
C:\Users\Achri\Desktop\Mancala
dclicking the Mancala.jar gives me the error:
"Could not find the main class: MancalaMain. Program will exit.
Since I created the .jar at the command prompt and the manifest is like so:
Manifest-Version: 1.0 Created-By: 1.7.0_02 (Oracle Corporation) Main-Class: MancalaMain
When I double click, I am trying to open a .jar created using Java 1.7, but what Windows is actually using is still 1.6?
And the command prompt just happens to know what to use?
So should I somehow figure out how to force Windows to be using my Java 1.7 build, instead of the 1.6? I ran into a similar problem when I was creating .JARs in Eclipse, I had to change the compliance level to 1.6 or lower to dclick them outside of eclipse. -
In Topic: Trying to run a method from another class
Posted 29 Mar 2012
I'm also a little confused where 'seats' is coming from?
If seats is a Seat, then seats.get does nothing? Because there is no get method inside of Seat(there's a getPrice and getCount). There are plenty more of these types of things.
It would appear you left out code, or you included code that doesn't needed to be included. -
In Topic: Command Line compiling/Jarring
Posted 29 Mar 2012
Thank you both for your well written answers.
I removed my packaging on my Mancala game I've been working on. And now I compiled and jarred it.
Last question for the night:
Why does this work:
C:\Users\Achri\Desktop\Mancala>java -jar Mancala.jar
but double clicking it, pops up
"Could not find the main class: MancalaMain. Program will exit." ?
My manifest file inside of the .jar:
Manifest-Version: 1.0 Created-By: 1.7.0_02 (Oracle Corporation) Main-Class: MancalaMain
It shouldn't be the manifest file since I can run the program on the command line.
My Information
- Member Title:
- D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
- Years Programming:
- 1
- Programming Languages:
- C++
Contact Information
- E-mail:
- Click here to e-mail me
Friends
Achri hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
stayscrisp
21 Jul 2011 - 06:07I will probably get round to extending my tutorials soon, I will be covering more data driven design first though.
stayscrisp
19 Jun 2011 - 14:55stayscrisp
19 Jun 2011 - 05:29