So I'm trying out this program and while it seems like a great tool, I can't for the life of me get it to work.
I'm on Mac OSX, 10.5. I've tried updating Java to the latest official release. No matter what I do, the window opens to a blank screen. None of the menu options work, except file > exit. I'm not even sure what it's supposed to look like when you boot it up, so I can't tell you what's wrong with it.
I even tried running it from Terminal via java -jar blah blah.jar. Here's my exception:
Exception in thread "main" java.lang.NoClassDefFoundError: java/awt/Dialog$ModalExclusionType
at minecraft.planner.gui.version.JAboutDialog.<init>(JAboutDialog.java:212)
at minecraft.planner.gui.StructurePlanner.<clinit>(StructurePlanner.java:1322)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
I can't find anything about this error, and I'm not familiar enough with Java to be able to read through the documentation and figure out what's going on. Can anybody help me out? I've included a screenshot with what the window looks like.
There's a problem with your java installation unfortunately. It's complaining that it can't find one of the standard Java classes (the java.awt.Dialog's ModalExclusionType inner class.) If you run java -version from the terminal window, what do you get?
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)
From the FAQ, this looks like the problem with Java 7, but I'm almost positive I'm running 6. I'm not sure what "build 1.5" signifies; could I be running Java 5?? I'm not sure how that's possible since like I mentioned, I updated my JRE before posting.
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)
From the FAQ, this looks like the problem with Java 7, but I'm almost positive I'm running 6. I'm not sure what "build 1.5" signifies; could I be running Java 5?? I'm not sure how that's possible since like I mentioned, I updated my JRE before posting.
I think that error (and it's a pretty rare one, so I'm doing this from memory) is about loading and trying to access a 32-bit DLL from within a 64-bit JVM. My initial guess is that you have an old 32-bit install of Java 3D installed? If that's the case then uninstall all your Java 3D installs (you don't need them any more - everything you need is bundled in the JAR file.)
I think that error (and it's a pretty rare one, so I'm doing this from memory) is about loading and trying to access a 32-bit DLL from within a 64-bit JVM. My initial guess is that you have an old 32-bit install of Java 3D installed? If that's the case then uninstall all your Java 3D installs (you don't need them any more - everything you need is bundled in the JAR file.)
Cheers,
LankyBrit.
Well, I worked on it for an hour or so and I'm pretty sure I dug myself into an even deeper hole.
First off, I'm not entirely sure you're right about the source of the previous error, because I'm 100% positive that I'm running a 32-bit operating system. But I think you're spot-on with there being a problem with my java installation. I'm just not sure how to fix it.
Now I'm getting the "Java3D does not appear to be installed, 3D View functionality may be unavailable" message. Here's a copy of the exception command line throws:
XXXXXXXXX$ java -jar MinecraftStructurePlanner.jar
Loading Mac OSX libraries...
java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilitiesChooser
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at javax.media.j3d.Pipeline$1.run(Pipeline.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:138)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:926)
at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:280)
at javax.media.j3d.Canvas3D.<clinit>(Canvas3D.java:3862)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at minecraft.planner.gui.StructurePlanner.<init>(StructurePlanner.java:401)
at minecraft.planner.gui.StructurePlanner.<clinit>(StructurePlanner.java:340)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
After which it gives me the same exception as before, something about a missing class in java/awt.
Seems there's something on the FAQ that mentions this so I went over there and looked that up. Figuring UNIX is mostly the same, even cross-platform, I tried the commands, but my Terminal doesn't recognize either apt-get or aptitude as valid. I figured I'd try reinstalling Java3d and JOGL (which was a complete *****, by the way) using the instructions outlined here (sorry for the long quote; it's a local file so I can't link to it):
The 1.5.2 release of the Java 3D API for Mac OS X runs on JDK version 1.5.0 and higher. To manually install this release, do the following:
1. Download and unzip j3d-1_5_2-XXX.zip into a temporary download directory, for example, /tmp. This will create a j3d-1_5_2-XXX subdirectory in /tmp where the downloaded files can be found. The file you need for manual installation is j3d-jre.zip.
2. Create a folder for the j3d jar files, for example, /myhome/j3d, and unzip j3d-jre.zip into this directory as follows:
cd /myhome/j3d
unzip /tmp/j3d-1_5_2-*/j3d-jre.zip
3. Modify your CLASSPATH environment variable to include the full paths to j3dcore.jar, j3dutils.jar, and vecmath.jar. For example:
export CLASSPATH=.:/myhome/j3d/lib/ext/j3dcore.jar:/myhome/j3d/lib/ext/j3dutils.jar:/myhome/j3d/lib/ext/vecmath.jar
4. Download a recent version of JOGL for the Mac platform into a temporary download directory, for example, /tmp.
5. Create a folder for the jogl jar files and native libraries, for example, /myhome/jogl, and unzip jogl-*.zip into this directory as follows:
cd /myhome/jogl
unzip /tmp/jogl-*.zip
6. Modify your CLASSPATH environment variable to include the full paths to jogl.jar and gluegen-rt.jar. For example:
export CLASSPATH="${CLASSPATH}:/myhome/jogl/lib/jogl.jar:/myhome/jogl/lib/gluegen-rt.jar
7. Modify your DYLD_LIBRARY_PATH environment variable to contain the full path to the lib directory. For example:
export DYLD_LIBRARY_PATH=/myhome/jogl/lib
At this point your Java installation should be able to see the j3d and jogl class files. Users of IDEs such as NetBeans and Eclipse should consult the IDE's documentation to see how to add jar files and native libraries to their current project.
Well, none of this helped. It's still telling me that I don't have a Java3d installation. So I undid everything, put back the old files where they were before I started mucking around. As a last-ditch hail mary, I tried simply replacing the old j3dutils.jar/j3dcore.jar/vecmath.jar files with the ones with the new ones, but that only led to the same "You don't have j3d installed" error from before. So I put everything back again and am completely stumped. There doesn't seem to be a problem with my Java3d even though the window pops up and nothing draws. Have you been able to find anything about a missing java/awt class? Does it make a difference that I'm running a 32-bit OS? Does my chronology of my bumbling around help at all?
Thanks for all your swift replies. Nice to see a developer taking such an interest in everybody's issues. Hopefully we can get this resolved soon! Really looking forward to using your software.
Well, I worked on it for an hour or so and I'm pretty sure I dug myself into an even deeper hole.
First off, I'm not entirely sure you're right about the source of the previous error, because I'm 100% positive that I'm running a 32-bit operating system. But I think you're spot-on with there being a problem with my java installation. I'm just not sure how to fix it.
Now I'm getting the "Java3D does not appear to be installed, 3D View functionality may be unavailable" message. Here's a copy of the exception command line throws:
XXXXXXXXX$ java -jar MinecraftStructurePlanner.jar
Loading Mac OSX libraries...
java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilitiesChooser
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at javax.media.j3d.Pipeline$1.run(Pipeline.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:138)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:926)
at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:280)
at javax.media.j3d.Canvas3D.<clinit>(Canvas3D.java:3862)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at minecraft.planner.gui.StructurePlanner.<init>(StructurePlanner.java:401)
at minecraft.planner.gui.StructurePlanner.<clinit>(StructurePlanner.java:340)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
After which it gives me the same exception as before, something about a missing class in java/awt.
Seems there's something on the FAQ that mentions this so I went over there and looked that up. Figuring UNIX is mostly the same, even cross-platform, I tried the commands, but my Terminal doesn't recognize either apt-get or aptitude as valid. I figured I'd try reinstalling Java3d and JOGL (which was a complete *****, by the way) using the instructions outlined here (sorry for the long quote; it's a local file so I can't link to it):
Well, none of this helped. It's still telling me that I don't have a Java3d installation. So I undid everything, put back the old files where they were before I started mucking around. As a last-ditch hail mary, I tried simply replacing the old j3dutils.jar/j3dcore.jar/vecmath.jar files with the ones with the new ones, but that only led to the same "You don't have j3d installed" error from before. So I put everything back again and am completely stumped. There doesn't seem to be a problem with my Java3d even though the window pops up and nothing draws. Have you been able to find anything about a missing java/awt class? Does it make a difference that I'm running a 32-bit OS? Does my chronology of my bumbling around help at all?
Thanks for all your swift replies. Nice to see a developer taking such an interest in everybody's issues. Hopefully we can get this resolved soon! Really looking forward to using your software.
If you're using Mac OS X then you should have OpenGL and Java3D installed automatically with your standard Java install. It looks to me like the standard install has become corrupted, and probably needs replacing. Unfortunately I'm not that familiar with OS X, so I'll have to ask some friends about this next week.
Hi LankyBrit
Have a request / idea that would be really awesome if it's possible: Randomly generated roads for building citys or villages.
See the image below for some examples:
Some examples for user inputs:
Village size
Road width
Number of exits
Be able to choose materials
Diagonal or straight only roads
Different shapes on the village
Road density or road percentage. An input that can regulate if you want very few roads or lots of roads.
All these "citys" are 25x25 blocks.
Example A: 2 exits and 2 block roads.
Example B: 4 exits and 1 block roads.
Example C: 3 exits and 4 block roads.
Example D: 1 exit and 3 block roads.
Naturally the citys would be quite larger, here's an example of a 50x50 village with 2 sized roads, 4 exits, no diagonal roads:
The generator could work similar how the mazes are generated. Every time you click the generate button, you get a new set of roads and you can click until you end up with something you like.
How do you like this idea? Possible to add this?
That's a really well thought out idea, and one that would be very useful for laying out villages. I don't know when I'll be able to get around to implementing it (my regular, paying work is taking priority right now) but I'll definitely think about it and add it to the list.
Is there any way for me to continue my work on a Pixel Art? When I save something and then load it I only get the blocks I've already placed. I can't find an option to put the image under what I've already made so i can continue working on it
Might I have missed such an option or isn't it implemented?
Not right now - when you load a saved schematic it'll open it in a 'freeform' window so you've lost the ability to have the image behind it. The problem with re-loading it into a pixel art window is that it would either (a) only be able to open on the machine that created it, as it would need to know the name and path of the backing image file, or (:cool.gif: have to embed the backing image into the saved file, which may bring all sorts of issues with sharing copyrighted images.
I'm thinking the best solution right now would be to save the path and scaling information for the backing image, and if that image doesn't exist on the machine you open the pixel art file on, then just don't display it. I'll add the change to the 7a release.
TL;DR: I'll come up with a fix for the next release.
To be honest the interior stuff like tracks/torches/redstone etc hasn't really been the focus of the planner so far. It's more about the buildings/bridges etc. I might get around to it eventually, but it's not a high priority.
Cheers,
LankyBrit.
I'd like to second the request for at least some basic redstone/rs torch/repeater stuff. :smile.gif: Regardless, this program has been a great help already - thank you!
i like the program thank u, but the few biggist flaws i see in the program is i would like to add Cricles while makeing the plain. what i mean is i like like doing it man-na-ly. also when i mess up i would like to have a way to have me mouse have the ablity to use 2 sorce blocks. 1 for the white block and the other for another 1, or mix and match.
i also have truble when im working on a plan i dont have a way to add another row to the left side. or the top. so it makes me redo everything so it sucks... also add red stone if u dont mine and or have sone charts or something like how to make 2 doors open up at the same time or something.. or tel u how u made it will or wil not work by showing u what it could do in the 3D preview...
also i found out when i first look at the 3D View at times it dont refresh to show the more up do date disign...
and if theres a way i like to have a way (unless u no how to do this with a free pain program.) i like to b able to make a planer type print off to any size u like on paper so u have something to go off on. i bought a planner pad in its smallish size and it was still to big, i had to make 1 square of that = 9 smaller boxes.. and it gets more then hard at times. :sad.gif:
but anyway i love this program thanks for making this.. (to bad i cant find a item maker program i can add new items into minecraft.. xD i like to make a harder sword to make but its worth it because it cant be distroyed unless u fall in lava xD
Tried the best i could to run this but no luck. 3d planner just doesn't work. FAQ doesn't mention where do you get files like j3dcore-d3d.dll, j3dcore-ogl.dll, j3dcore-ogl-cg.dll and j3dcore-ogl-chk.dll, nor does it mention that some of them exist only for 32-bit version of Java. It also doesn't mention that structure planner uses version 1.5.1 of Java 3D. In any case - i tried everything suggested in FAQ and on forums but still just get blank screen in 3d planner window.
I have tried installing both x32 (wouldn't even run with this version installed) and x64 version of java 6u27 and java7, have also tried manually adding different files of java 3d to /bin and /ext folders. Tried running this program both from .jar file and .exe file.
Tried the best i could to run this but no luck. 3d planner just doesn't work. FAQ doesn't mention where do you get files like j3dcore-d3d.dll, j3dcore-ogl.dll, j3dcore-ogl-cg.dll and j3dcore-ogl-chk.dll, nor does it mention that some of them exist only for 32-bit version of Java. It also doesn't mention that structure planner uses version 1.5.1 of Java 3D. In any case - i tried everything suggested in FAQ and on forums but still just get blank screen in 3d planner window.
I have tried installing both x32 (wouldn't even run with this version installed) and x64 version of java 6u27 and java7, have also tried manually adding different files of java 3d to /bin and /ext folders. Tried running this program both from .jar file and .exe file.
What he said. tried everything for this program now. who the *** uses x86 bit operating systems now days anyways. tried this with every java version out there it feels like. and btw i did the advanced way for x64 to get rid of the not running java 3d error. it worked. but your program still didn't work for me when i imported any files. i tried it with the java 6 and 7 x64.
so please let me know if there is a program like this that is not java based and craps out on me. love the idea of this program but it's to buggy.
java can suck it.
Going back to my java 7 x64 where the memory allocation is working for me atleast so i can run my texture packs.
What he said. tried everything for this program now. who the *** uses x86 bit operating systems now days anyways. tried this with every java version out there it feels like. and btw i did the advanced way for x64 to get rid of the not running java 3d error. it worked. but your program still didn't work for me when i imported any files. i tried it with the java 6 and 7 x64.
so please let me know if there is a program like this that is not java based and craps out on me. love the idea of this program but it's to buggy.
java can suck it.
Going back to my java 7 x64 where the memory allocation is working for me atleast so i can run my texture packs.
Calm down folks. The instructions don't mention where to get the J3D libraries from because they're packaged in the single JAR file. When the application runs it determines whether you're on a 32-bit or 64-bit operating system and loads the correct library files. What you're seeing here is a bug in the application that's been caused by a couple of API calls being changed between Java 6 and Java 7. I'm working on a patch to get the application working again under Java 7, and once that's released everything will be back to normal. Unfortunately I'm working 60+ hour weeks right now, so I've not had much time to work on the patch.
Calm down folks. The instructions don't mention where to get the J3D libraries from because they're packaged in the single JAR file. When the application runs it determines whether you're on a 32-bit or 64-bit operating system and loads the correct library files. What you're seeing here is a bug in the application that's been caused by a couple of API calls being changed between Java 6 and Java 7. I'm working on a patch to get the application working again under Java 7, and once that's released everything will be back to normal. Unfortunately I'm working 60+ hour weeks right now, so I've not had much time to work on the patch.
Cheers,
LankyBrit.
I wasn't "venting", i was reporting. This program seems nice and it can replace several smaller ones, since it has so many features, including in-game view. Im anxious to see it working.
Can you tell me why, when I run the app, I get a weird graphic glitch and its really slow?
Like when i open up tabs and click on something, the tabs still appear and nothing ever loads.
Can you tell me why, when I run the app, I get a weird graphic glitch and its really slow?
Like when i open up tabs and click on something, the tabs still appear and nothing ever loads.
"Unless you've played minecraft exclusively in your browser you've almost certainly got a Java Runtime Environment (or JRE for short) installed on your system. Still, it's not a bad idea to update to the latest version"
ArtiMo, this app was designed against Java 6, not Java 7. That's why there are issues. Java 7 was still being developed when he started this app. Just be patient.
It's sad to hear you're working 60+ hour work weeks. 1.8 was released recently, hope we can use the new blocks in the program soon.
There's a problem with your java installation unfortunately. It's complaining that it can't find one of the standard Java classes (the java.awt.Dialog's ModalExclusionType inner class.) If you run java -version from the terminal window, what do you get?
Home of the Minecraft Structure Planner application.
From the FAQ, this looks like the problem with Java 7, but I'm almost positive I'm running 6. I'm not sure what "build 1.5" signifies; could I be running Java 5?? I'm not sure how that's possible since like I mentioned, I updated my JRE before posting.
I think that error (and it's a pretty rare one, so I'm doing this from memory) is about loading and trying to access a 32-bit DLL from within a 64-bit JVM. My initial guess is that you have an old 32-bit install of Java 3D installed? If that's the case then uninstall all your Java 3D installs (you don't need them any more - everything you need is bundled in the JAR file.)
Cheers,
LankyBrit.
Home of the Minecraft Structure Planner application.
Well, I worked on it for an hour or so and I'm pretty sure I dug myself into an even deeper hole.
First off, I'm not entirely sure you're right about the source of the previous error, because I'm 100% positive that I'm running a 32-bit operating system. But I think you're spot-on with there being a problem with my java installation. I'm just not sure how to fix it.
I first deleted my install of Java3d as outlined here:
http://wiki.java.net/bin/view/Javadesktop/MacJava3DRemoval
Now I'm getting the "Java3D does not appear to be installed, 3D View functionality may be unavailable" message. Here's a copy of the exception command line throws:
After which it gives me the same exception as before, something about a missing class in java/awt.
Seems there's something on the FAQ that mentions this so I went over there and looked that up. Figuring UNIX is mostly the same, even cross-platform, I tried the commands, but my Terminal doesn't recognize either apt-get or aptitude as valid. I figured I'd try reinstalling Java3d and JOGL (which was a complete *****, by the way) using the instructions outlined here (sorry for the long quote; it's a local file so I can't link to it):
Well, none of this helped. It's still telling me that I don't have a Java3d installation. So I undid everything, put back the old files where they were before I started mucking around. As a last-ditch hail mary, I tried simply replacing the old j3dutils.jar/j3dcore.jar/vecmath.jar files with the ones with the new ones, but that only led to the same "You don't have j3d installed" error from before. So I put everything back again and am completely stumped. There doesn't seem to be a problem with my Java3d even though the window pops up and nothing draws. Have you been able to find anything about a missing java/awt class? Does it make a difference that I'm running a 32-bit OS? Does my chronology of my bumbling around help at all?
Thanks for all your swift replies. Nice to see a developer taking such an interest in everybody's issues. Hopefully we can get this resolved soon! Really looking forward to using your software.
If you're using Mac OS X then you should have OpenGL and Java3D installed automatically with your standard Java install. It looks to me like the standard install has become corrupted, and probably needs replacing. Unfortunately I'm not that familiar with OS X, so I'll have to ask some friends about this next week.
Cheers,
LankyBrit.
Home of the Minecraft Structure Planner application.
That's a really well thought out idea, and one that would be very useful for laying out villages. I don't know when I'll be able to get around to implementing it (my regular, paying work is taking priority right now) but I'll definitely think about it and add it to the list.
Cheers,
LankyBrit.
Home of the Minecraft Structure Planner application.
Not right now - when you load a saved schematic it'll open it in a 'freeform' window so you've lost the ability to have the image behind it. The problem with re-loading it into a pixel art window is that it would either (a) only be able to open on the machine that created it, as it would need to know the name and path of the backing image file, or (:cool.gif: have to embed the backing image into the saved file, which may bring all sorts of issues with sharing copyrighted images.
I'm thinking the best solution right now would be to save the path and scaling information for the backing image, and if that image doesn't exist on the machine you open the pixel art file on, then just don't display it. I'll add the change to the 7a release.
TL;DR: I'll come up with a fix for the next release.
Cheers,
LankyBrit.
Home of the Minecraft Structure Planner application.
I'd like to second the request for at least some basic redstone/rs torch/repeater stuff. :smile.gif: Regardless, this program has been a great help already - thank you!
i also have truble when im working on a plan i dont have a way to add another row to the left side. or the top. so it makes me redo everything so it sucks... also add red stone if u dont mine and or have sone charts or something like how to make 2 doors open up at the same time or something.. or tel u how u made it will or wil not work by showing u what it could do in the 3D preview...
also i found out when i first look at the 3D View at times it dont refresh to show the more up do date disign...
and if theres a way i like to have a way (unless u no how to do this with a free pain program.) i like to b able to make a planer type print off to any size u like on paper so u have something to go off on. i bought a planner pad in its smallish size and it was still to big, i had to make 1 square of that = 9 smaller boxes.. and it gets more then hard at times. :sad.gif:
but anyway i love this program thanks for making this.. (to bad i cant find a item maker program i can add new items into minecraft.. xD i like to make a harder sword to make but its worth it because it cant be distroyed unless u fall in lava xD
I have no clue what the problem is if someone knows that would be awesome.
I have tried installing both x32 (wouldn't even run with this version installed) and x64 version of java 6u27 and java7, have also tried manually adding different files of java 3d to /bin and /ext folders. Tried running this program both from .jar file and .exe file.
What he said. tried everything for this program now. who the *** uses x86 bit operating systems now days anyways. tried this with every java version out there it feels like. and btw i did the advanced way for x64 to get rid of the not running java 3d error. it worked. but your program still didn't work for me when i imported any files. i tried it with the java 6 and 7 x64.
so please let me know if there is a program like this that is not java based and craps out on me. love the idea of this program but it's to buggy.
java can suck it.
Going back to my java 7 x64 where the memory allocation is working for me atleast so i can run my texture packs.
Calm down folks. The instructions don't mention where to get the J3D libraries from because they're packaged in the single JAR file. When the application runs it determines whether you're on a 32-bit or 64-bit operating system and loads the correct library files. What you're seeing here is a bug in the application that's been caused by a couple of API calls being changed between Java 6 and Java 7. I'm working on a patch to get the application working again under Java 7, and once that's released everything will be back to normal. Unfortunately I'm working 60+ hour weeks right now, so I've not had much time to work on the patch.
Cheers,
LankyBrit.
Home of the Minecraft Structure Planner application.
I wasn't "venting", i was reporting. This program seems nice and it can replace several smaller ones, since it has so many features, including in-game view. Im anxious to see it working.
Like when i open up tabs and click on something, the tabs still appear and nothing ever loads.
You're probably using Java 7.
Home of the Minecraft Structure Planner application.
Why would that be a problem?
"Unless you've played minecraft exclusively in your browser you've almost certainly got a Java Runtime Environment (or JRE for short) installed on your system. Still, it's not a bad idea to update to the latest version"
It's sad to hear you're working 60+ hour work weeks. 1.8 was released recently, hope we can use the new blocks in the program soon.