sidebar features
sidebar content

Go Back   Blender Artists Forums > General Forums > News & Discussion

Reply
 
Thread Tools
hafunui's Avatar
hafunui hafunui is online now
Member
 
Join Date: Dec 2004
Posts: 824
Quote:
Originally Posted by fpsunflower
Quote:
Originally Posted by hafunui
K, i copied the server folder ( it was in jdk>jre>bin ) and it must have worked, because now it skips to the next error. that class path one.
Ok. Just to double check, type:
Code:
java -server -version
and make sure it says something about the server vm.

Quote:
Originally Posted by hafunui
PATH already has "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\S ystem32\Wbem;C:\Program Files\Common Files\GTK\2.0\bin" in it. should i replace it or add on to it somehow?
Don't change anything here, if the above works, you're good to go.
yeah, it says stuff about -server
............................................
Please visit my -Deviantart- gallery
-Sunflow Shader Guide- (old)
#21   Old 17-Feb-06, 13:50   
Reply With Quote


hafunui's Avatar
hafunui hafunui is online now
Member
 
Join Date: Dec 2004
Posts: 824
K, nevermind. I'll just forget about the desktop shortcut for now. I can get the thing started with -server through command prompt.
............................................
Please visit my -Deviantart- gallery
-Sunflow Shader Guide- (old)
#22   Old 19-Feb-06, 00:12   
Reply With Quote
etr9j's Avatar
etr9j etr9j is offline
Member
 
Join Date: Jan 2006
Location: Maryland/DC Area, USA
Posts: 71
Since I had a rough time getting the shortcut to work I thought I would post how I did it. This is off memory so I hope I got it right.

1) Install Java (I suggest the JDK over the JRE alone since the JDK allows the use of the -server option)
2) Right click on "My Computer," go to Properties, go to the Advanced tab, click on the Environmental Variables button.
3) In the system variables section (bottom part) there are two variables that you need to do something to, ClassPath and Path.
4) Assuming you put the Sunflow .jar files in C:\Sunflow, click on ClassPath and click edit. If this isn't already there go to the very end of whatever text is there (do nothing to the text that is already there) and add a semi-colon (to separate this from the previous text) then the text C:\sunflow\sunflow.jar;c:\sunflow\janino.jar
5) Hit okay.
6) click on Path and click edit. If this isn't already there, go to the very end of whatever text is there (do nothing to the text that is already there) and add a semi-colon then the text C:\<your path to the Java JDK>\JRE\bin (make sure the bin folder has both a client and server folder).
7) Restart you computer
8) Go to a command prompt and type in "java -server -version" which should return the version you are running.
9) Create a shortcut on your desktop (or whereever you want it) and in the target field put "javaw.exe -server SunflowGUI" in the Start In field put where your Sunflow .jar files are (for me it is C:\Sunflow)
10) Double click and see Sunflow start up!
11) Read Sunflow's documentation for other command line options you can add to your shortcut.

Please correct me if I missed something or refine the instructions.
............................................
http://sunflow.sourceforge.net - A great open source rendering engine.
http://www.geneome.net - My video and written Blender tutorials.

Last edited by etr9j; 03-May-06 at 04:06.
#23   Old 03-May-06, 04:00   
Reply With Quote
hayfever_ hayfever_ is offline
Member
 
Join Date: May 2005
Location: Isle of Man
Posts: 62
Just one thing to add, if there is a path to an existing version of java (say 1.4) make sure you either delete it or add the path to 1.5 before the other version, this first one in the path will be used.
#24   Old 03-May-06, 08:18   
Reply With Quote
hafunui's Avatar
hafunui hafunui is online now
Member
 
Join Date: Dec 2004
Posts: 824
Yes! I finally go this to work I must have changed the variable name by accident.
............................................
Please visit my -Deviantart- gallery
-Sunflow Shader Guide- (old)
#25   Old 03-May-06, 18:21   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 18:27.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists