Then reopen should load about the same speed, but then go over to your charts and you should see a dramatically faster load time. Here is the java site for some reference: "$app_java_home/bin/java" -Dinstall4j.jvmDir="$app_java_home" -Dexe4j.moduleName="$prg_dir/$progname" =true =true 3d=false $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" launch true false "$prg_dir/client.out" "$prg_dir/client.out" true true false "" true true 470 265 "" 20 20 "Arial" "0,0,0" 8 500 "" 20 40 "Arial" "0,0,0" 8 500 -1 For you guys running other Java Platforms such as IB TWS you want to look for something that has "VM_PARAMS" or "VM_Properties" or default_options.something along those lines is where you need to stick the extra code. Im not sure if its ok to move this set of commands around or what, but I put them as below and it seems to work: "$app_java_home/bin/java" -Dinstall4j.jvmDir="$app_java_home" -Dexe4j.moduleName="$prg_dir/$progname" $INSTALL4J_ADD_VM_PARAMS -classpath "$local_classpath" launch true false "$prg_dir/client.out" "$prg_dir/client.out" true true false "" true true 470 265 "" 20 20 "Arial" "0,0,0" 8 500 "" 20 40 "Arial" "0,0,0" 8 500 -1 this set of lines we need to add the following: ![]() We need to add some stuff to the script.right below where it has INSTALL4J_ADD_VM_PARAMS="$INSTALL4J_ADD_VM_PARAMS $vmoptions_val", there should be another set of lines that contains something along the lines of: If there is a # in front of this line, delete the # only. ![]() ![]() INSTALL4J_ADD_VM_PARAMS="$INSTALL4J_ADD_VM_PARAMS $vmoptions_val" Scroll down towards the bottom and find a line that looks like: You should have the thinkorswim file open in a text editor with a whole bunch of programming mumbo jumbo. Now that you've found it, we need to go to that directory and edit that file.type in the terminal:Ĭd /thinkorswim/thinkorswim (or to wherever your start-up shell script is located) If you can't find it, do a system wide search for thinkorswim.you are then looking for the file type to be a shell script. For thinkorswim on my system, the file is called "thinkorswim" and its in home=>thinkorswim=>thinkorswim. You need to find the folder where the start-up shell script is stored. If you do not see something like this.same deal, probably need a new/updated/different driver with OpenGL AND/OR you need to see if you system can even support OpenGL. OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20091221 You should see something along the lines of: Let's make sure OpenGL is installed and working.again,in the terminal type: If you have a high end graphics card, you are probably anywhere from 4000-8000. Again, beyond the scope but google it and ask questions. If your not, you most likely need a new/updated/different driver. If you have a newer chipset, say a core duo and up, you should be seeing over 1000 per 5 secs (Im not expert just a guestimate based on what I've seen on the net). (Hit CTRL-C to stop or just close the window) Lets make sure your graphics are running ok. I cannot take any credit for this other than writing it up.I found the majority of the information here: ![]() I ran this on a Dell E6400 with Intel GMA4500 HMD integrated graphics with Ubuntu Lucid installed. Im guessing it should work for you IB TWS users or any java platform for that matter. I did it on Thinkorswim since that is what I run and noticed a huge difference.especially in the load speed of the charts. This should work for any Java based platform. I will show some basic steps, but you need to find out 1.) if you graphics card can support it and 2.) if it can be enabled on your operating system.that is beyond the scope of this tutorial (and somewhat beyond me). Other Notes: The basis of this howto is using the OpenGL driver for your graphics card. If you have a question, I will do my best to help, but maybe some of the Java/programmers/computer geeks can chime in as well to help out. Do this at your own risk know the consequences.make sure you have everything backed up before proceeding. If I get time I will try it out and see if i can make a how to for you.Ĭaution: I have no idea if this is going to break your graphics and/or your Operating system. For you Windoze users, I haven't tried it on the various OS. So this guide is intended for Linux users, ubuntu in particular.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |