Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Classpath Variable does not Persist
Classpath Variable does not Persist [message #842806] Thu, 12 April 2012 16:04 Go to next message
tyler james is currently offline tyler jamesFriend
Messages: 4
Registered: April 2012
Junior Member
CONTEXT:
I am recent CS major/new-hire JRules developer who is new to Java/Eclipse, so bear with me. I do not know if this is an Eclipse or Rule Studio issue [if either].

OS:
Windows 7 64-bit

SOFTWARE:
Eclipse Ganymede 3.4.2
Rule Studio 7.1.1.3
ClearCase SCM Adapter 7.6.0.0

ISSUE:
There is a project within one of my Eclipse workspaces that relies on a handful of jars. These jars' locations are define by the ILOG_BR_STUDIO_HOME classpath variable. Upon opening my workspace, erros arise in the project because the jars cannot be found -- the ILOG_BR_STUDIO_HOME variable points to a file location that does not exist on my system.
I edit the path of ILOG_BR_STUDIO_HOME to the correct file location, save, rebuild, and everything is gravy. The errors disappear. When I close Eclipse and reopen the workspace, the value of ILOG_BR_STUDIO_HOME has reverted to its previous [incorrect] path, and the errors are reintroduced.
I have tried editing our workspace preferences file [which initializes the ILOG_BR_STUDIO variable], creating a new workspace, and importing these preferences, but the issue still remains.

Incorrect path: ../studio/eclipse/plugins/ilog.rul
Correct path: C:/Program Files (x86)/IBM/WebSphereILOGJRules711/studio

I am assuming that the variable is getting initialized somehow, somewhere, outside of this preferences file; and that this initialization is occuring at each Eclipse start-up. Has anyone experienced an issue such as is? Or does anyone know where/how classpath variables are initialized? Again, I am new to a lot of these concepts, so I apologize if my question comes across as naive.

Thank you in advance,
Tyler
Re: Classpath Variable does not Persist [message #843218 is a reply to message #842806] Thu, 12 April 2012 21:42 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4492
Registered: July 2009
Senior Member

I think you should file a bug report with Rule Studio.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Classpath Variable does not Persist [message #843900 is a reply to message #843218] Fri, 13 April 2012 13:30 Go to previous message
tyler james is currently offline tyler jamesFriend
Messages: 4
Registered: April 2012
Junior Member
Thank you for the reply, Nitin. I probably should have included the following details in my original post:

Initially, I was the only developer on my team with a W7 64-bit machine; all other employees had XP 32-bit boxes. I was the only developer experiencing the classpath issue, and I figured that it was because our Rule Studio software was packaged for XP 32-bit. The value of ILOG_BR_STUDIO_HOME works for everyone else because the file path is valid on their machines; whereas on my box, I require the (x86) file path.

BUT, two other developers recently received new W7 64-bit machines, and they are not experiencing the issue. When they update the value of the ILOG_BR_STUDIO_HOME classpath variable, the value persists after Eclipse is shut down and reopened.

This wouldn't have anything to do with a Windows Environment variable, would it?
Previous Topic:Can not locate javadoc.exe
Next Topic:is there epic in your forums ?
Goto Forum:
  


Current Time: Wed Sep 25 21:47:59 GMT 2024

Powered by FUDForum. Page generated in 0.07213 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top