Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
Java compiler unable to read starteam-extensions.jar. giving error "filename too long"
Description:
java compiler unable to read starteam-extensions.jar. giving error
"filename too long"
The java 1.5 compiler does not work
if "c:\Program Files\Borland\StarTeam Cross-Platform Client
2006 R2\starteam-extensions.jar" is in the CLASSPATH on
windows.
The following error will occur:
C:\>javac test.java
error: error reading d:\Program Files\Borland\StarTeam
Cross-Platform Client 200
6
R2\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.
\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.
\.\.\.\.\.\.\.\.\.\.\.\.\.\.\ri_swing.jar; Filename too long
Answer/Solution:
Issue lies in java compiler. According to SUN website
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6400872 there
was a bug in 1.5 java compiler (to reference the jar files in
Manifest.mf).This is fixed in later release (for example error
doesn’t occur if compiled with java version
"1.6.0_01")
Author: Praveen Boyeneni