Class Path settings

23 views
Skip to first unread message

marplusz

unread,
Oct 3, 2018, 8:11:06 AM10/3/18
to Marathon Java GUI Testing
My application is run:

java -XX:MaxPermSize=256m -Xms256m -classpath "C:\App\lib\*" com.app.Start

I create a marathon project:
Class name: com.app.Start
VM Arguments: -XX: MaxPermSize = 256m -Xms256m

On the Class Path tab, I choose 'Add Folders': 'C: \ App \ lib \ *'

During the application start: Error: Could not find or load main class com.app.Start

Everything works if I add all libraries with 'Add Archives ...'

How do you indicate all libraries with '*'?

Dakshinamurthy Karra

unread,
Oct 3, 2018, 8:23:41 AM10/3/18
to marathon...@googlegroups.com
You can't, because Marathon internally launching the application using java command and doesn't pass it through shell.

-- KD

--
Dakshinamurthy Karra
Jalian Systems Pvt. Ltd.
1st Floor, #457, 3rd Cross
5th Main, 5th Block
H.B.R Layout
Bangalore - 560043
INDIA




--
Looking for professional help with your Marathon projects?
Go visit: http://marathontesting.com
---
You received this message because you are subscribed to the Google Groups "Marathon Java GUI Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marathon-testi...@googlegroups.com.
To post to this group, send email to marathon...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Dakshinamurthy Karra

unread,
Oct 3, 2018, 12:26:00 PM10/3/18
to marathon...@googlegroups.com
Java class path can contain either archives or folders. A folder in this context is a folder containing class files as in a unpacked JAR.

-- KD

--
Dakshinamurthy Karra
Jalian Systems Pvt. Ltd.
1st Floor, #457, 3rd Cross
5th Main, 5th Block
H.B.R Layout
Bangalore - 560043
INDIA




On Wed, Oct 3, 2018 at 5:56 PM marplusz <slaweka...@gmail.com> wrote:
What is 'Add folders' for?
Reply all
Reply to author
Forward
0 new messages