• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Archived

This topic is now archived and is closed to further replies.

Big_Bad_Bill

[java] Anyone know about Mac java problems?

14 posts in this topic

In my computer science class, I''ve been recruited by my teacher to search for a browser that will work on our old macs (ewww!) and supprt java. I found that IE 4.01 will work on these machines, and it took me forever, but I found an old enough version of Mac Runtime Java to work as well. The purpose of these tasks was so we (the students) could check our teacher''s online gradebook which he wrote in java. The problem is, his applet now runs, but when you put in your password to access your grades, it gives me errors and doesn''t display the grades. The errors it gives me look like they are problems with his code, but I''m not very proficient in java yet and it also runs on all of our Windows machines at home, so it may be problems with the macs. If interested in helping me solve this problem please email me at stuffnotherstuff@hotmail.com and I''ll share the errors and hopefully I can get these old machines to be able to access the online gradebook. Bill
0

Share this post


Link to post
Share on other sites
Sounds like he gave you an impossible task. Just because he gives out specs doesn''t mean they can be met at all. Post the exact errors if you want more detailed help. Other than that, java + macs = trouble.
0

Share this post


Link to post
Share on other sites
Here''s the error''s it gives me:

Applet error message:

5/10/2001 @ 8:53:2
Java Exception: java.lang.NoSuchMethodError - java.lang.Character:
method
getNumericValue(C)I not found
Stack Trace:
java.lang.NoSuchMethodError: java.lang.Character: method
getNumericValue(C)I
not found
at pinApplet.encodeString(pinApplet.java:202)
at pinApplet.checkThePin(pinApplet.java:239)
at pinApplet.action(pinApplet.java:134)
at java.awt.Component.handleEvent(Component.java)
at java.awt.Component.postEvent(Component.java)
at java.awt.Component.postEvent(Component.java)
at sun.awt.macos.MEvent.post(MEvent.java)
at apple.jam.JMAWTContext.run(JAMSessionFrameHolder.java)
0

Share this post


Link to post
Share on other sites
Sounds like the version of MRJ you have is only 1.0. getNumericValue on Character has only existed since java 1.1. Try getting a newer version of the MRJ. Either that or get your teacher to give you a java 1.0 compatible version of the applet.

MRJ is on about version 2.2 (pre OS X), and should support java 1.1.8. It should be fine if you get a recent version. Though if these macs are very old you might have trouble. If you have MacOS 8.1 (or higher you should be fine), just look at http://www.apple.com/java/ or http://developer.apple.com/java/

Anyway, most of the problems with macs stem form the fact that they''re not like normal computers (which might be why some people like them). No command line, GUI all the way up, no "working directory" etc.
0

Share this post


Link to post
Share on other sites
That is somwhat helpful, but I installed MRJ 1.5.1 on them, the highest I could find that will run on them. I hate macs with a passion, but they have started to interest me a little. I''ve looked, but is there a Microsoft Virtual Machine for Macs anywhere? Or any other virtual machine for a mac?
0

Share this post


Link to post
Share on other sites
Glad to hear you''re finding some interest in macs (they''re not as bad as some people would have you believe, they just don''t work like WinTel boxes).

I think you''re a bit buggered tho'' if you can''t get MRJ higher than 1.5.1, that seems to be the only version that isn''t java 1.1
compatible.
Sun used to do java for the mac, but apple took all responsibility for producing java later. The only other JVM I now of for the mac is the netscape VM, but it''s also only java 1.0.
If you can upgrade the macs to System 7.6 then you should be ok. Otherwise I don''t know what to suggest. (beyond telling your teacher to get a grip and rewrite his code).

cheers,
John
0

Share this post


Link to post
Share on other sites
I noticed the comment about having system 7.6... these machines have 7.6.1 on them, is there another version of MRJ that I could search for? Also, I don''t think my teacher would be very keen on rewriting his code to be 1.0 compatible, I could always try though.
0

Share this post


Link to post
Share on other sites

You are in luck go to:

http://developer.apple.com/java/download.html

You should see several previous versions of MRJ. Assuming you have enough hardware requirements, you should be able to get MRJ 2.1.4, which brings you up to the heady heights of java 1.1.7. That should be more than ample.
0

Share this post


Link to post
Share on other sites
Thank you for all your help! I now have an "A" on my final project and all of our macs can now run the online gradebook applett. Thanks again.

Bill
0

Share this post


Link to post
Share on other sites
Sorry, no. (though maybe check out codewarrior, not free, not sure whether its even java 2). You can get swing to run under OS 9.

But basically apple decided there was little point bringing java 2 to MacOS classic, when OS X when just around the corner. Why do you want java 2? Personally the only thing that''s useful is the speed boost (due to hotspot). Well that and maybe drag''n''drop. (I am probably just saying that as I have been forcing myself to only use 1.1, so that stuff works in applets).
0

Share this post


Link to post
Share on other sites
primarily because my main instruction manual has quite
a bit of Java 2. But since there is no choice, I''m up
for 1.1, I can probably get an older version of my book.
heh, I think I will.
0

Share this post


Link to post
Share on other sites
OK if im on 1.1 that brings up the questions,
"Can I use SWING?"
"Where exactly does swing come in?"

Thank You.

0

Share this post


Link to post
Share on other sites
Yes, you can use swing (as it''s basically a set of classes written in 1.1 code).

Swing gives you some "nicer" components, that are otherwise missing from the AWT. Such as tabs, and other stuff. The problem is that it is slow. Personally I use AWT, but that''s mainly because all I want is something to draw on (for games).
0

Share this post


Link to post
Share on other sites
quote:
[that''s mainly because all I want is something to draw on (for games).


me too, and thanks 8)


0

Share this post


Link to post
Share on other sites