Questions tagged [classpath]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
1k views

How are Java Libraries on Debian supposed to work?

I've just been through a lot of grief installing activemq on Debian Wheezy. apt-get install activemq installed a lot of packages - openjdk-jre + a raft of libraries, all of which ended up in /usr/...
hollandlef's user avatar
2 votes
2 answers
2k views

Weblogic 10.3 weblogic.jar classpath issues

I am upgrading an old WLS8.1 app to 10.3 (11g) My ant build includes only the new weblogic.jar in the compile classpath and the build runs with no issues but when I include weblogic.jar as a libeary ...
user avatar
1 vote
2 answers
1k views

Java class path completely ignored (OS X)

I'm trying to run a jar that is located at /Library/Java/jack.jar, this works: java -jar /Library/Java/jack.jar However, I want to run it without the path, relying on the class path. The default ...
Jack Sleight's user avatar
1 vote
3 answers
6k views

Multiple java versions

I have a server running rhel5 and jre 1.6. All my apps are running perfectly for now. But I want to install java 1.7 but keeping java 1.6 as the default so my running apps want be affected. If I want ...
ivcode's user avatar
  • 1,072
1 vote
1 answer
2k views

Setting up Jetty SessionHandler

I am trying to set up persistent sessions on Jetty 9.2.3 on a linux machine running Java8. I have added jetty-web.xml file to my app under ${jetty.home}/webapps/app/WEB-INF/ with the following content:...
Kęstutis's user avatar
  • 553
1 vote
2 answers
6k views

Tomcat - additional classpath

We have set up Tomcat 6 with [TOMCAT_HOME]/lib - here is the standard tomcat release [TOMCAT_BASE]/lib - here we like to add non standard additional jar file However somehow I don't manage to get [...
s5804's user avatar
  • 785
1 vote
0 answers
62 views

Does Jetty have a way to PRE-pend folders to an war's classpath?

I have an app.war which contains app.conf file which I load using ClassLoader.getResource(...) all works well in development, in production I would like to place a different kind of app.conf file ...
Alex Kravets's user avatar
1 vote
1 answer
903 views

Neo4j Web Server Hangs: Logging Issue?

I have a small database that was working fine just a day ago, but now, when I try to start it, the console claims that it succeeds in opening, but the web server hangs. lsof -i | grep 7474 states ...
Olga Mu's user avatar
  • 111
0 votes
1 answer
7k views

How to make changes to environmental variables on Windows Server 2016 stick and stay permanent?

After setting the CLASSPATH environmental variable on Windows Server 2016 using the Control Panel/System/Advanced Settings/Environmental Variables UI Tool - the CLASSPATH value reverts back to its ...
Praxiteles's user avatar
0 votes
1 answer
814 views

Why does Play! not recognize JDK when I try to build with ant?

I recently built an ubuntu server that I am going to do some minor web hosting on. I have wanted to use Play Framework for a while now, so I thought this would be a good opportunity. I installed Play ...
jbranchaud's user avatar
0 votes
1 answer
2k views

How to override files in Tomcat5's classpath

I have a .war file in Tomcat server. The .war file contains a file that I would like to override. The webapp will load up the file from the classpath. How can I modify the classpath so that the ...
Juha Syrjälä's user avatar
0 votes
1 answer
1k views

Should app config files be in jboss/bin directory?

I am a Integration Engineer for a software company. My development team has generated various jboss .ear applications that rely on configuration files being in the jboss/bin directory and setting ...
djangofan's user avatar
  • 4,200
0 votes
2 answers
763 views

JDBC CLASSPATH Not Working

I'm setting up a simple JDBC connection to my working MySQL database on my server. I'm using the Connector-J provided by MySQL. According to their documentation, I'm suppose to create the CLASSPATH ...
AeroDroid's user avatar
  • 101