[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some clarifications on Project1



1. Task 2: LSI

     When you run LSI or any task that would require more memory, your program would give an out of memory error. This can be overcome by increasing the Java virtual memory(heap size). The command is :

java -Xmx200 Cse494.yourfilename

With this you are setting the heap size to 200MB. You can set it upto 800MB if needed.

2.  Different students are using different editors to run and program this project. The project description does not include any details regarding how you need to set up this project on each of these different graphical editors such as WinEdit, JCreator, J++ studio  etc. It is editor specific and you need to figure out for yourself to set up the project  on such editors.

Some students needed command line commands in DOS to run and execute Java programs and so on. I am listing a few java related ones here. If you need more help, go to http://www.glue.umd.edu/~nsw/ench250/dostutor.htm
   

jar xvf  Project1.jar  to unjar a file Project1.jar. Do not use *, ? as Prj1*.jar to unjar a collection of jar files. You need to unjar each file separately.
javac -d . srcfiles/yourfilename.java  to compile the file yourfilename.java in the srcfiles directory . "-d ." puts the generated class file in the CSE494 directory
java CSE494.yourfilename to execute the yourfilename class


3.  Please do not send me your code as attachments since there are more chances of my mailbox getting full. I would appreciate if you can come over with your code during my office hours and then I can try to help you. In the meanwhile if you have questions email me.

Good luck for your exam tomorrow.

Regards,
Sree