View Single Post
Old 10-07-07, 01:31 PM   #2
jcrox
Mahna Mahna
 
jcrox's Avatar
 
Join Date: Jul 2006
Location: Madison, Wi
Posts: 6,134
Default Re: Anyone know java properties?

update:

heres my set up:

projects
- classes
---java112
----analyzer
-----labs1
-----labs2
- config
- data
- docs
- output
- public_html
- src
--- java112
------analyzer
------labs1
------labs2
------project2
------tests
------util

Ok, with the program in the above post I need to read the information from the labs2-3.properties file located in the config folder.... I can get it to compile just fine but no matter what I do I get a NullPointerException
Here's the .bat file I'm using to try and run this... hopefully some java guru can help me

"C:\Program Files\java\jdk1.6.0_02\bin\java.exe" -classpath classes;config java112.labs2.LabTwoThree "config/lab2-3.properties"
__________________

Gaming

MSI MPower Z87 | 4770k | CNPS9900MAX-B | 8GB G.Skill 1866 | EVGA GTX760 |ThermalTake 850w | X-Fi Titanium | HAF | Asus PA248Q | Lycosa | Death Adder | Win8 Pro 64

Dev/Backup

MSI GD65 | 2500k | H50 | 8GB G.skill | GTX570 | Ubuntu 13.10

Laptop

17" Inspiron | i5 | 4GB DDR3 | 500GB HDD | Win7 Pro 64

jcrox is offline   Reply With Quote