Results 1 to 4 of 4
- 06-02-2011, 06:18 AM #1
Member
- Join Date
- Jun 2011
- Posts
- 1
- Rep Power
- 0
Classes like Linux but not Windows 7?
I'm working my way through the book, "Head First Java," and it's helped me make more progress than those dusty old school books, but whenever I try to create and compile a source file that has classes in it while using Windows 7, the JVM throws a fit. However, when I compile and run the exact same code inside of my Ubuntu box, it runs perfectly well. I can post output from my Windows box tomorrow, but I'd like to know if anyone else has had this issue and if it can be solved. Thanks in advance for any advice!
Note: Code compiles and runs like a charm on my Windows box, just as long as there aren't any classes. Only procedural programming works within the main class.
- 06-02-2011, 06:26 AM #2
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
It's hard to say without the exact problem. If you don't have access to your windows box right now, would you mind summarizing the problem? "it throws a fit" isn't very helpful.
- 06-02-2011, 08:14 AM #3
Java Code:Exception fit = new Exception("Throwing a fit"); throw fit;
- 06-02-2011, 02:12 PM #4
Similar Threads
-
ObjectInputStream() for Linux and Windows
By eh1476 in forum Threads and SynchronizationReplies: 0Last Post: 03-04-2011, 09:52 PM -
One program for both Windows and Linux
By satimis in forum New To JavaReplies: 8Last Post: 04-12-2010, 09:49 AM -
Errors running app in linux but not in Windows
By JohnST in forum New To JavaReplies: 3Last Post: 03-12-2010, 01:58 AM -
creating executable .jar for linux, mac, and windows
By JohnST in forum New To JavaReplies: 3Last Post: 01-21-2010, 01:51 AM -
[SOLVED] Windows Linux conflict - TrayIcon image not display in Linux
By Eranga in forum Advanced JavaReplies: 6Last Post: 04-08-2009, 04:05 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks