Ok, what the heck causes these stupid exceptions. I can't find hardly any documentation on it. I've tried running my mortgage calculator on a different computer and it won't show up because a unsupportedflavorexception. I know it's something about the major or minor version, but what do you do about it? How can you solve something like this?
server_crash
64
Postaholic
Recommended Answers
Jump to PostIt's an AWT exception thrown by datatransfer operations if the datatype isn't supported.
Things like drag and drop, clipboard operations, etc.I guess the error occurs on different vendor implementations of the JVM? Possibly on macs or unix?
DataFlavors are static descriptors for data types. You get this …
Jump to PostIt's not the JVM version, it's the JVM implementation details.
If Apple failed to provide a mapping of some core datatypes to their internal format in their JVM (I don't think the JVMS obliges the implementation of any such mappings) you get an exception.The UnsupportedClassVersionError is thrown when …
Jump to PostIt is backwards compatible, that's not the problem.
The problem is that 1.4 isn't forwards compatible (it can't read a fileformat that didn't exist when it was created, not that weird actually).Try to compile with the "-target 1.4 -source 1.4" options and see what happens.
If you've not …
All 11 Replies
jwenting
1,889
duckman
Team Colleague
server_crash
64
Postaholic
JeffHeaton
0
Junior Poster in Training
server_crash
64
Postaholic
JeffHeaton
0
Junior Poster in Training
JeffHeaton
0
Junior Poster in Training
jwenting
1,889
duckman
Team Colleague
server_crash
64
Postaholic
jwenting
1,889
duckman
Team Colleague
server_crash
64
Postaholic
jwenting
1,889
duckman
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.